摘要: 列表的增删改查 增 函数 描述 L.append() 列表尾部追加 L.insert( index , x ) 在 index 位置插入x, 后面的元素依次递减 L.extend(x) 迭代加入 举例: >>> L=["你好",12,True] #尾部加入 >>> L.append("wewe") 阅读全文
posted @ 2020-07-19 21:42 life_if_forever 阅读(118) 评论(0) 推荐(0)