If I have the list [0, 1, 2, 3, 4, 5]
I can return the last four items using list[1:]
.
Is there a similar way of doing this that would return the list without the second item?
I.e. list[??] == [0, 2, 3, 4 ,5]
(If there are different methods for Python 2.x and Python 3.x please detail both)