Skip to main content

operation performed on list in python

 #operation on list 

a=["a",5,8,5.6]
#slicing
b=a[1:3]
print(b)
#deleting
del a[3]
print(a)

Comments