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