Commit e6738886 by BellCodeEditor

save project

parent ff32c516
Showing with 2 additions and 17 deletions
b={'袁术','夏侯惇','曹操','关羽'}
b.remove('关羽')
b.pop(3)
b.pop(-1)
print(b)
b=['袁术','夏侯惇','曹操','关羽']
b.remove('关羽')
b.pop(3)
b.pop(-1)
print(b)
a=('华雄')
a.insert(1,'关羽')
print(a)
a=['华雄']
c=['颜良','文丑',]
a.extend(c)
print(a)
++ "b/\346\230\257/112"
++ "b/\351\200\217\351\200\217\346\260\224"
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