摘要: 一.列表(list) 列表是可变的,有序的(只要能索引的都是有序的) 列表的基本操作: 1.增 1.append 追加 例:lst.append(8) print (lst) 2.insert 插入 例:lst.insert(2,'alex') 其中第一个参数是插入的位置(索引),第二个参数是要插入 阅读全文
posted @ 2018-10-26 21:19 屁桃 阅读(218) 评论(0) 推荐(0) 编辑