Skip to content

Commit bfdb7a5

Browse files
24lesson
1 parent e13bd2d commit bfdb7a5

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

24listinitital.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# List Initial
2+
pptList = [20,30,40,50]
3+
# print(pptList[3])
4+
# print(pptList[-1],'reverse')
5+
6+
# slicing
7+
# print(pptList[:])
8+
# print(pptList[0:2])
9+
# print(pptList[0:-1])
10+
# print(pptList[0:])

0 commit comments

Comments
 (0)