Commit ba70b73b by BellCodeEditor

save project

parent a8bca003
Showing with 5 additions and 0 deletions
...@@ -8,3 +8,8 @@ bros=["关羽","刘备","张飞"] ...@@ -8,3 +8,8 @@ bros=["关羽","刘备","张飞"]
bros[0]="刘备" bros[0]="刘备"
bros[1]="关羽" bros[1]="关羽"
print(bros) print(bros)
bros=["关羽","刘备","张飞"]
bros.pop(2)
bros.pop(-1)
bros.remove("张飞")
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