array = [0, 1, 2, 3, 4] array.pop(0) # Remove first array array.pop(1) # Remove second array array.pop(-1) # Remove last array
list =['Apple','Banana','Mike','Kiwi'] list.remove(list[2]) print(list) # ['Apple', 'Banana', 'Kiwi']