Commit 78bd71d8 by BellCodeEditor

save project

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