Commit 590b360f by BellCodeEditor

save project

parent 0ea70a62
Showing with 6 additions and 21 deletions
bro1="关羽"
bro2="刘备"
bro3="张飞"
bros=["关羽","刘备","张飞"]
bros.pop(1)
for i in range(len(bros)):
print(bros[i])
bro1="关羽"
bro2="刘备"
bro3="张飞"
bros=["关羽","刘备","张飞"]
bros.remove("关羽")
for i in range(len(bros)):
print(bros[i])
a=["华雄"]
c=["颜良","文丑"]
a.insert(1,"关羽")
a.append("张飞")
a.extend(c)
print(a)
......
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