Commit 7ad7b06a by BellCodeEditor

save project

parent 7555d001
Showing with 5 additions and 2 deletions
bros=["关羽","刘备","张飞","袁绍","袁术"] bros=["关羽","刘备","张飞","袁绍","袁术"]
bros.append("华雄")
bros.insert(5,"曹操")
a=("孙策","孙坚")
bros.extend(a)
for i in range(len(bros)): for i in range(len(bros)):
print(bros[i]) print(bros[i])
bros.remove("关羽") bros.remove("关羽")
bros.pop(3)
print(bros) print(bros)
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