Commit 098dc12d by BellCodeEditor

save project

parent 5f36282d
Showing with 5 additions and 9 deletions
b=["华雄"]
b.insert(1,"关羽")
print(b)
b.append("颜良")
print(b)
a=["文丑","袁术"]
b.extend(a)
print(b)
\ No newline at end of file
a=['吕布']
b=['袁术','公孙瓒','关羽','刘备','张飞','曹操']
a.extend(b[2:5])
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