Commit dd84ef59 by BellCodeEditor

auto save

parent c593e827
Showing with 23 additions and 0 deletions
a=["关羽","刘备","张飞","颜良"]
a.remove("关羽")
#print(a)
a.insert(1,"文丑")
#print(a)
a.append("曹操")
print(a)
b=["孙权","马超"]
a.extend(b)
print(a)
\ No newline at end of file
a=["吕布"]
a=["吕布"]
b=["孙权","曹操","刘","关","张"]
a.extend(b[2:])
print(a)
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