Commit cd63540d by BellCodeEditor

save project

parent 14f3d278
Showing with 3 additions and 2 deletions
...@@ -3,4 +3,5 @@ list=['苹果','香蕉','西瓜','香蕉','桃子','香蕉'] ...@@ -3,4 +3,5 @@ list=['苹果','香蕉','西瓜','香蕉','桃子','香蕉']
list.remove('香蕉') list.remove('香蕉')
list.pop(2) list.pop(2)
print(list) print(list)
list.pop(-1) list.pop(-1)
\ No newline at end of file print(list)
\ 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