Commit 3f0fb9ab by BellCodeEditor

auto save

parent c593e827
Showing with 4 additions and 0 deletions
...@@ -2,3 +2,6 @@ ...@@ -2,3 +2,6 @@
a= ['华雄'] a= ['华雄']
a.append('颜良','文丑') a.append('颜良','文丑')
print(a) print(a)
append() 加入只能加入一个
insert() 插入 插入列表位置
extend() 填入列表名 插入列表
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment