Commit 95258282 by BellCodeEditor

save project

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