eat_lst = ['apple', 'ice cream', 'watermelon', 'chips', 'hotdogs', 'hotpot'] while len(eat_lst) > 0: eat_lst.pop(-1) print(eat_lst)