Commit 60fe40c5 by BellCodeEditor

save project

parent 02f0847a
Showing with 6 additions and 5 deletions
b=['袁术','夏侯惇','曹操','关羽'] #勇于挑战的创造师,请运行这段代码,看看他能不能将颜良 文丑加入战场?
b.pop(3) a=['华雄']
b.remove("关羽") c=['颜良','文丑']
b.pop(-1) a.extend(c)
\ No newline at end of file print(a)
\ 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