Commit 74840ec8 by BellCodeEditor

save project

parent 46ad043c
Showing with 9 additions and 0 deletions
...@@ -2,4 +2,12 @@ ...@@ -2,4 +2,12 @@
a= ['华雄'] a= ['华雄']
c=['颜良','文丑'] c=['颜良','文丑']
a.extend(c) a.extend(c)
print(a)
a=[1,2,3]
a.insert(1,4)
print(a)
a=[1,2,3]
a.extend([4,5,6])
print(a) print(a)
\ 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