Commit 5f36282d by BellCodeEditor

save project

parent 3a8bbd18
Showing with 6 additions and 4 deletions
b=["曹操","司马懿","孙权","周瑜","赵云"] b=["华雄"]
b.pop(3) b.insert(1,"关羽")
print(b) print(b)
b.pop(-2) b.append("颜良")
print(b) print(b)
b.remove("曹操") a=["文丑","袁术"]
b.extend(a)
print(b) 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