Commit 35551744 by BellCodeEditor

save project

parent 88df1977
Showing with 7 additions and 2 deletions
b=['袁术','夏侯惇','曹操','关羽']
b=['袁术','夏侯惇','曹操','关羽','刘备','张飞']
c=['文丑','颜良']
c.append(b[3:6])
print(b)
print(c)
b.pop(-1)#b.pop(3)
b.extend('文丑颜良')
c.extend('文丑颜良')
print(b)
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