python3 grab last on the enumerated list code example
Example 1: how to find the last item of a list
list1 = ['a','b','c']
print(list1[-1])
Example 2: python select last item in list
# Basic syntax:
your_list[-1]
# Example usage:
your_list = [1, 'amazing', 'list']
your_list[-1]
--> 'list'