Commit 4efcf8e9 by BellCodeEditor

save project

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