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

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