Commit 60abd88d by BellCodeEditor

save project

parent 0e891e0f
Showing with 10 additions and 3 deletions
a=['刘备']
b=['曹操','关羽','张飞','关羽']
b.pop(3)
\ No newline at end of file
b.pop(3)
print(b)
a=['曹操','关羽','张飞','关羽']
a.pop(-1)
print(a)
g=['曹操','关羽','张飞','关羽']
g.remove('关羽')
print(g)
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