Commit 8dcc7d84 by BellCodeEditor

save project

parent bc30fdd4
Showing with 9 additions and 2 deletions
...@@ -12,4 +12,11 @@ for i in range(len(bros)): ...@@ -12,4 +12,11 @@ for i in range(len(bros)):
print(bros[i]) print(bros[i])
bros[0]="关羽" bros[0]="关羽"
bros[1]="刘备" bros[1]="刘备"
print(bros) print(bros)
\ No newline at end of file
b=['袁术','夏侯惇','曹操','关羽']
b.pop(3)
b.pop(-1)
b.remove('关羽')
\ 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