Commit 07ddb478 by BellCodeEditor

save project

parent e8e7057b
Showing with 7 additions and 4 deletions
...@@ -6,7 +6,10 @@ ...@@ -6,7 +6,10 @@
b=['袁术','夏侯惇','曹操','关羽'] b=['袁术','夏侯惇','曹操','关羽']
b.pop(-1) b.pop(-1)
b=['袁术','夏侯惇','曹操','关羽'] print(b)
b.pop(3) b1=['袁术','夏侯惇','曹操','关羽']
b=['袁术','夏侯惇','曹操','关羽'] b1.pop(3)
b.remove('关羽') print(b1)
b2=['袁术','夏侯惇','曹操','关羽']
b2.remove('关羽')
print(b2)
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