Skip to content

Commit 3153ee2

Browse files
committed
python course
1 parent 80ce728 commit 3153ee2

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

Lists.py

+3
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,6 @@
1616
print(b) #now all list of "bol" is "true" value
1717
print(len(b)) #Length can also check by len(). function
1818

19+
#slicing in list
20+
print(b[0:3])
21+
#print(b[0:3:2])

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -159,3 +159,5 @@
159159
**Can string Functions can implemen in Lists?**
160160
-- Answer is Yes! but not all of them
161161
- Len() to find length of list.
162+
- Slicing also can be implement in list like "[0:4]"
163+

0 commit comments

Comments
 (0)