Commit 891abcff by BellCodeEditor

save project

parent 408f7d95
Showing with 5 additions and 4 deletions
list=["香蕉","苹果","粑粑","柚子"]
list.remove('粑粑')
print(list)
\ No newline at end of file
a=['吕布']
b=['袁术','公孙瓒','关羽','张飞','刘备','曹操']
a.extend(b[2:5])
print(a)
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