a=['apple', 'ice cream', 'watermelon', 'chips', 'hotdogs', 'hotpot'] while a!=[]: a.pop() print(a)
相关推荐