OverIQ.com
Run (or Hit F9)
list1 = [1, 2, 3, 4, 5, 6] list1.pop(4) # remove the element at index 4 print(list1) list1.pop() # remove the last element print(list1) # list1.pop(10) # index specified is not valid