Commit e8b91bec by BellCodeEditor

save project

parent 01ad4d51
Showing with 8 additions and 2 deletions
...@@ -6,6 +6,11 @@ ...@@ -6,6 +6,11 @@
b=['袁术','夏侯惇','曹操','关羽'] b=['袁术','夏侯惇','曹操','关羽']
b.pop(3) b.pop(3)
b.remove('关羽') #b.remove('关羽')
b.pop(-1) #b.pop(-1)
print(b) print(b)
a=['华雄']
c=['颜良','文丑']
a.extend(c)
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