array = [0, 1, 2, 3, 4] array.pop(0) # Remove first array array.pop(1) # Remove second array array.pop(-1) # Remove last array