题解 | #格式化清单#
格式化清单
https://www.nowcoder.com/practice/91041d28883847d2af52e98e3df14b53
import sys list1 = ['apple', 'ice cream', 'watermelon', 'chips', 'hotdogs', 'hotpot'] while len(list1) >= 1: list1.pop() print(list1)
格式化清单
https://www.nowcoder.com/practice/91041d28883847d2af52e98e3df14b53
import sys list1 = ['apple', 'ice cream', 'watermelon', 'chips', 'hotdogs', 'hotpot'] while len(list1) >= 1: list1.pop() print(list1)
相关推荐