Commit c628de51 by BellCodeEditor

save project

parent 2c003e18
Showing with 12 additions and 5 deletions
bros=["刘备","关羽","张飞"]
bros[0]="关羽"
bros[1]="刘备"
print(bros)
\ No newline at end of file
b=['袁术','夏侯惇','曹操','关羽']
b.pop(3)
print(b)
b.remove(3)
print(b)
b.pop(-1)
print(b)
\ No newline at end of file
b=['袁术','夏侯惇','曹操','关羽']
b.pop(3)
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