my_list = [1, 2, 3] popped_item = my_list.pop() print(popped_item) # 3