Commit 84788367 by BellCodeEditor

save project

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