There are 2 ways of getting the last item of a list in Python. The easiest way, by far, is getting the -1 index of a list.
First method :
Second method :