摘要: # 1、下面代码的输出结果是什么? list1 = ['a', 'b', 'c', 'd', 'e'] print(list1[10:]) # [] # 2、各行打印的结果应该是多少? list1 = [ [ ] ] * 5 list1[0].append(10) print(list1) list1[1].append(20) print(list1) list1.append(30) pr... 阅读全文
posted @ 2019-07-19 20:35 辕子 阅读(138) 评论(0) 推荐(0) 编辑