According to the exercise hint:
In order to slice the last two items from the list:
myList = [0,1,2,3,4]
the ending index of your slice will be one beyond the actual last index of the list.
Therefore, if we wanted to slice the last two items from myList we would have to write something like
last_two = myList [3:5]
last_two = myList[3:4]
Could you please explain why it must be this way?
Replace this line with your code.