Commit 6cc5f6f5 by BellCodeEditor

save project

parent c4e8523b
Showing with 6 additions and 1 deletions
...@@ -6,6 +6,10 @@ a=['华雄'] ...@@ -6,6 +6,10 @@ a=['华雄']
a.insert(1,'关羽') a.insert(1,'关羽')
print(a) print(a)
a=['华雄'] a=['华雄']
c=['颜良''文丑'] c=['颜良','文丑']
a.extend(c) a.extend(c)
print(a)
a=['吕布']
b=["袁术","公孙瓒","关羽","张飞"'刘备''曹操']
a.extend(b[2:5])
print(a) 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