Commit 77bd3128 by BellCodeEditor

save project

parent a14ff199
Showing with 11 additions and 2 deletions
b=['袁术','公孙瓒','关羽','张飞','刘备','曹操']
print(b[:4])
print(b[2:])
print(b[:])
\ No newline at end of file
list=['苹果','香蕉','西瓜','香蕉','桃子','香蕉'] list=['苹果','香蕉','西瓜','香蕉','桃子','香蕉']
list.remove('香蕉') list.remove('香蕉')
print(list) print(list)
\ No newline at end of file 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