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