Commit 859998db by BellCodeEditor

save project

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