Commit aa556cda by BellCodeEditor

save project

parent 8e04d0c5
Showing with 10 additions and 0 deletions
bros = ["刘","关","张"] bros = ["刘","关","张"]
bros[1] = "刘" bros[1] = "刘"
bros[0] = "关" bros[0] = "关"
#bros.pop(2)
bros.insert(2,"a")
bros.append("b")
a = ["c","d"]
bros.extend(a)
b = bros[4:]
c = b.insert(0,"a")
print(c)
print(bros) 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