Getting the Last Item in a List in Python You can get the last item in a list by using -1 as the index. l = [1,2,3,4,5] print(l[-1]) # 5