

info=["priti",21,'mca']
print(info)

cap = ['MCA','MCA2']
print(cap)
print(cap[0])
cap.append('MSC')
print(cap)

empty=[]
empty.append(1)
print(empty)

nos=[2,1,5,3]
print(nos)
print(nos[-2])

#x=[letters,numbers]
x=[['a','b','c'],[1,2,3]]
print(x)

letters=['a','b','c','d']
print(letters)
letters[2:5] = ['C', 'D']
print(letters)
letters[2:4]=[]
print(letters)
letters[:]=[]
print(letters)

letters = ['a', 'b', 'c', 'd']
print(len(letters))

a = ['a', 'b', 'c']
n = [1, 2, 3]
x = [a, n]
print(x)
print(x[1][1])

country=['India','Pak',2]
print(country)
print(country[:])
print(country[-2:])



list=[0,1,2,3,4,5,6,7,8,9]

'''if list[0]==0:
    print("This no is zero.")
elif list[1]==1:
    print("This is One.")
'''
'''print(range(10))
for i in range(10):
    print(i)
    
for i in list:
    print(i)
    '''


############list of words#####

'''name="Hi I m Priti."
for i in name:
    print(i)
    '''
