Commit 2c592cba by BellCodeEditor

save project

parent 6866dc72
Showing with 9 additions and 10 deletions
a=['华雄']
a.append('颜良')
a.append('文丑')
print(a)
b=['袁术','夏侯惇','曹操','关羽']
b.pop(3)
print(b)
b=['袁术','夏侯惇','曹操','关羽']
b.pop(-1)
print(b)
b=['袁术','夏侯惇','曹操','关羽']
b.remove('关羽')
print(b)
\ No newline at end of file
a=['华雄']
b=['颜良','文丑']
a.extend(b)
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