Commit 3c2d3617 by BellCodeEditor

save project

parent e2d390be
Showing with 7 additions and 2 deletions
...@@ -4,7 +4,11 @@ c=[1,2,3] ...@@ -4,7 +4,11 @@ c=[1,2,3]
# append() # append()
# insert() # insert()
# extend() # extend()
c.append("华雄") c.append(a[0])
c.insert(3,"华雄") c.insert(3,a[0])
c.extend(a) c.extend(a)
print(c)
c.remove(2)
print(c)
c.pop(1)
print(c) print(c)
\ 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