Commit c9537da0 by BellCodeEditor

save project

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