Commit 3bf9551f by BellCodeEditor

save project

parent 5437ed2a
Showing with 6 additions and 0 deletions
...@@ -11,3 +11,8 @@ bro3=["张飞",166,8.3] ...@@ -11,3 +11,8 @@ bro3=["张飞",166,8.3]
bros[0]="关羽" bros[0]="关羽"
bros[1]="刘备" bros[1]="刘备"
print(bros) print(bros)
b=['袁术','夏侯惇','曹操','关羽']
b.pop(3)
b.pop(-1)
b.remove('关羽')
print(b)
\ 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