food_list = ['apple', 'ice cream', 'watermelon', 'chips', 'hotdogs', 'hotpot']
for i in range(0,len(food_list)):
    food_list.pop()
    print(food_list)

# 或者设定range终点足够大,用
# if food_list == []:
# 	break
# 来终止循环