Commit c9418eb3 by BellCodeEditor

save project

parent 69b12a06
Showing with 9 additions and 2 deletions
......@@ -2,4 +2,12 @@ list=["张飞","刘备","袁绍","关羽"]
list.pop(3)
print(list)
list.remove("刘备")
print(list)
\ No newline at end of file
print(list)
list.insert(3,"关羽")
print(list)
list.append("孙权")
print(list)
c=["颜良","文丑"]
list.extend(c)
print(list)
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