array = [0, 1, 2, 3, 4]
array.pop(0) # Remove first array
array.pop(1) # Remove second array
array.pop(-1) # Remove last array
l.remove('Bob')
print(l)
# ['Charlie', 'Bob', 'Dave']
# l.remove('xxx')
# ValueError: list.remove(x): x not in list
list =['Apple','Banana','Mike','Kiwi']
list.remove(list[2])
print(list)
# ['Apple', 'Banana', 'Kiwi']