getting the last string of an object from a list of objects code example Example: how to find the last item of a list list1 = ['a','b','c'] print(list1[-1])