How to remove the last element

 lst = [61,45,2,1,41]

lst.pop()
print (lst)