Commit 8e2d01ee by BellCodeEditor

save project

parent ba732306
Showing with 11 additions and 2 deletions
...@@ -7,4 +7,14 @@ bro2=["关羽"160,8,5] ...@@ -7,4 +7,14 @@ bro2=["关羽"160,8,5]
bro3=["张飞"16683] bro3=["张飞"16683]
bros[0]="关羽" bros[0]="关羽"
bros[1]="刘备" bros[1]="刘备"
print(bros) print(bros)
\ No newline at end of file b=['袁术''夏侯埻''曹操''关羽']
b.remove('关羽')
b.pop(3)
b.pop(-1)
print(b)
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