Commit c391512e by BellCodeEditor

save project

parent 24f15390
Showing with 9 additions and 0 deletions
a = ['华雄'] a = ['华雄']
a.append('关羽')
print(a)
a.append('华雄')
print(a)
c = ['颜良','文丑']
a.extend(c)
print(a)
b=['袁术','夏侯','曹操','关羽'] b=['袁术','夏侯','曹操','关羽']
b.pop(3) b.pop(3)
a.remove('华雄') a.remove('华雄')
print(a,b) print(a,b)
a.append()
\ 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