how can i find who has the last item code example
Example: python last element of list
>>> list[-1:] # returns indexed value
[3]
>>> list[-1] # returns value
3
>>> list[-1:] # returns indexed value
[3]
>>> list[-1] # returns value
3