Commit 38e09e42 by BellCodeEditor

save project

parent 84788367
Showing with 8 additions and 1 deletions
......@@ -2,6 +2,12 @@
list=['苹果','香蕉','西瓜','香蕉','桃子','香蕉']
list.remove('香蕉')
print(list)
a=['桃子']
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