Commit 2b8627cc by BellCodeEditor

save project

parent 15dbd63c
Showing with 13 additions and 5 deletions
bros=["刘备""关羽","张飞"]
bros[0]="关羽"
bros[1]="刘备"
print(bros)
\ No newline at end of file
b=['袁术''夏侯惇','曹操''关羽']
b.remove('关羽')
print(b)
a=['华雄']
a.insert(1,'关羽')
print(a)
a=['华雄']
c=['颜良''文丑‘]
a.extend(c)
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