I have a list like this:
list = ['a', 'b', 'c']
I want the first element only, by using a list slicer that counts down. That is:
list[start:stop:-1]
What do I set as start and stop to return exactly ['a']
?
My first intuition would be list[0:-1:-1]
, but this returns an empty list.