Important Notice:

Course Content
List Manipulation in Python (Chapter-7) M3-R5
About Lesson
Slicing List:-

             Slice operator list पर भी काम करता है

a=[10,20,30,’a’, ‘b’, ‘c’]

print(a[1:3])

# [20, 30]

Slicing List:-

            Slice operator also works on list

a=[10,20,30,’a’, ‘b’, ‘c’]

print(a[1:3])

# [20, 30]

error: Content is protected !!