Commit b86f1a50 by BellCodeEditor

save project

parent fbe9d73a
Showing with 5 additions and 4 deletions
...@@ -2,6 +2,8 @@ a=["华雄"] ...@@ -2,6 +2,8 @@ a=["华雄"]
a.insert(1,"关羽") a.insert(1,"关羽")
a.append("曹操") a.append("曹操")
list=["文丑","颜良"] list=["文丑","颜良"]
a.extend() a.extend(list)
c=["吕布"]
print(a) b=["袁术","公孙瓒","关羽","张飞","刘备","曹操"]
\ No newline at end of file c.extend(b[2:5])
print(c)
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