Commit b68ba660 by BellCodeEditor

save project

parent 150829f0
Showing with 9 additions and 0 deletions
......@@ -5,7 +5,15 @@
bros = ["刘备","关羽","张飞"]
bros[0] = "关羽"
bros[1] = "刘备"
bros.pop(0)
# bros.pop(-3)
# bros.remove("关羽")
bros.insert(3,"颜良")
bros.insert(4,"文丑")
# bros.append("颜良")
# bros.append("文丑")
# bros.extend(["颜良","文丑"])
print(bros)
\ No newline at end of file
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