Commit f178e2c2 by BellCodeEditor

save project

parent d9f8e11d
Showing with 7 additions and 0 deletions
b=['袁术','夏侯惇','曹操','关羽']
b.pop(3)
print(b)
list=['袁术','夏侯惇','曹操','关羽']
list.remove('关羽')
print(list)
b=['袁术','夏侯惇','曹操','关羽']
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