# Revome the last item from a list # If the list is empty, it will return an empty list my_list = [1, 2, 3] print(my_list[:-1]