# List Methods in Python

l1 = [1,8,45,12,9,2,7]
l1.sort() #Sorts the list in ascending order
print(l1)

l1.reverse() #Sorts in list in reverse(Descesding order)
print(l1)

l1.append(69) # adds 69 at the end of the list
print(l1)

l1.insert(0, 34) #adds 34 at index 0
print(l1)

l1.pop(2) #Removes element at index 2
print(l1)

l1.remove(69) #Removes 69 from the list
print(l1)
