摘要: 1 列表和元组 1、列表基本操作 1. 列表赋值 a = [1,2,3,4,5,6,7,8] a[0] = 100 #the result : [100, 2, 3, 4, 5, 6, 7, 8] 2. 元素删除 a = [1,2,3,4,5,6,7,8] del a[0] #the result 阅读全文
posted @ 2020-03-10 21:19 darkly 阅读(241) 评论(0) 推荐(0) 编辑