Commit 7ed8f4e1 by BellCodeEditor

save project

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