CAP=["Pallvi", 23, "MCA"]
print(CAP)
CAP.append('Pallvi Arora')
print(CAP)
empty=[]
empty.append(1)
print(empty)
cap[-1]
'MCA'
>>> cap[:3]
['pallvi', 23, 'MCA']
>>> cap[2]
'MCA'
>>> cap[:2]
['pallvi', 23]
cap=[["pallvi", 23 , "A"], ["MCA", 11612003, 1618, "A"]]
>>> cap
[['pallvi', 23, 'A'], ['MCA', 11612003, 1618, 'A']]

'i' in 'pallvi'
True
