Commit 231e1bc4 by BellCodeEditor

save project

parent 0a76a63b
Showing with 3 additions and 0 deletions
...@@ -2,3 +2,5 @@ ...@@ -2,3 +2,5 @@
list=['苹果','香蕉','西瓜','香蕉','桃子','香蕉'] list=['苹果','香蕉','西瓜','香蕉','桃子','香蕉']
list.remove('香蕉') list.remove('香蕉')
print(list) print(list)
list.pop('3')
list.pop('-1')
\ 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