#Type of methods that work on list
#1- Append
lst1 = ['ram','sham','rohan','sohan','jagmohan']
lst2 = ['ram','sham','rohan','sohan','jagmohan',1,2,3]
lst3 = [1,2,3,4,5,6,7,8,9]
'''lst1.append(4)
print(lst1)

#2- Extend
lst1.extend(lst3)
print(lst1)

#3-insert
lst2.insert(2,55)
print(lst2)

#4- Remove
print(lst2)
lst2.remove(55)
print(lst2)'''

#5-Count
x=lst2.count(2)
print(x)

#6-pop
x=lst3.pop()
print(x)

#7-Reverse
lst3.reverse()
print(lst3)

#8-Sort
lst1.sort()
print(lst1)
#Type of methods that work on list
#1- Append
lst1 = ['ram','sham','rohan','sohan','jagmohan']
lst2 = ['ram','sham','rohan','sohan','jagmohan',1,2,3]
lst3 = [1,2,3,4,5,6,7,8,9]
'''lst1.append(4)
print(lst1)

#2- Extend
lst1.extend(lst3)
print(lst1)

#3-insert
lst2.insert(2,55)
print(lst2)

#4- Remove
print(lst2)
lst2.remove(55)
print(lst2)'''

#5-Count
x=lst2.count(2)
print(x)

#6-pop
x=lst3.pop()
print(x)

#7-Reverse
lst3.reverse()
print(lst3)

#8-Sort
lst1.sort()
print(lst1)
#Type of methods that work on list #1- Append lst1.append(4) print(lst1)  #2- Extend lst1.extend(lst3) print(lst1)  #3-insert lst2.insert(2,55) print(lst2)  #4- Remove print(lst2) lst2.remove(55) print(lst2) #5-Count #6-pop #7-Reverse #8-Sort