Commit 78bd71d8 by BellCodeEditor

save project

parent eb9c127a
Showing with 9 additions and 8 deletions
a=["华雄"] a=["华雄"]
b=["袁术","夏侯惇","曹操","关羽","关羽","关羽"] b="关羽"
for i in range(3): a.insert(1,b)
b.pop(3) print(a)
print(b) c=["华雄"]
c=["关羽","刘备"] c.append("关羽")
c.pop(-2)
print(c) print(c)
d=["关羽","张飞"] d=["华雄"]
d.remove("关羽") e=["关羽","曹操"]
d.extend(e)
print(d) print(d)
\ 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