Commit d0f02a67 by BellCodeEditor

save project

parent 906ddf63
Showing with 5 additions and 0 deletions
...@@ -3,3 +3,7 @@ b=["袁术","夏侯惇","曹操","关羽","关羽","关羽"] ...@@ -3,3 +3,7 @@ b=["袁术","夏侯惇","曹操","关羽","关羽","关羽"]
for i in range(3): for i in range(3):
b.pop(3) b.pop(3)
print(b) print(b)
c=["关羽","刘备"]
c.pop(-1)
d=["关羽","张飞"]
d.remove("关羽")
\ 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