Commit fa250837 by BellCodeEditor

save project

parent 7344606d
Showing with 9 additions and 0 deletions
bro1="关羽" bro1="关羽"
bro2="刘备" bro2="刘备"
bro3="张飞" bro3="张飞"
bros=["关羽","刘备","张飞"] bros=["关羽","刘备","张飞"]
bros.pop(1)
for i in range(len(bros)): for i in range(len(bros)):
print(bros[i]) print(bros[i])
bro1="关羽"
bro2="刘备"
bro3="张飞"
bros=["关羽","刘备","张飞"]
bros.remove("关羽")
for i in range(len(bros)):
print(bros[i])
......
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