Commit ea0a580b by BellCodeEditor

save project

parent 93ac1101
Showing with 16 additions and 5 deletions
...@@ -2,7 +2,19 @@ ...@@ -2,7 +2,19 @@
# b.remove('关羽') # b.remove('关羽')
# print(b) # print(b)
# a = ['华雄'] a = ['华雄']
# a.append('颜良',) a.append('颜良')
# b.append('文丑') b.append('文丑')
# print(a) print(a)
\ No newline at end of file
a = ['华雄']
b = ['颜良','文丑']
a.extend(b)
print(a)
a = ['华雄']
a.insert(0,'颜良')
a.insert(1,'文丑')
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