Commit 130b0898 by BellCodeEditor

save project

parent b044542b
Showing with 8 additions and 2 deletions
...@@ -14,9 +14,16 @@ bros[0]="关羽" ...@@ -14,9 +14,16 @@ bros[0]="关羽"
bros[1]="刘备" bros[1]="刘备"
print(bros) print(bros)
a=['华雄']
b=['袁术','夏侯惇','曹操','关羽'] b=['袁术','夏侯惇','曹操','关羽']
c=['颜良','文丑']
b.pop(3) b.pop(3)
b.pop(-1) b.pop(-1)
a.append('关羽')
a.insert()('关羽')
a
a.extend('颜良','文丑')
print(a)
b.remove('关羽')
\ 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