how to print the last item in a list code example Example: how to print last element in a list python lis[len(lis)-1]