Commit 95258282 by BellCodeEditor

save project

parent 31076286
Showing with 9 additions and 2 deletions
...@@ -8,4 +8,11 @@ b.remove('关羽') ...@@ -8,4 +8,11 @@ b.remove('关羽')
print(b) print(b)
a=['华雄'] a=['华雄']
a.insert(1,'关羽') a.insert(1,'关羽')
print(a) print(a)
\ No newline at end of file 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