Commit 5e5bb8af by BellCodeEditor

save project

parent 5fcc9fe3
Showing with 10 additions and 4 deletions
message = "诺依,周末一起去看动漫展吧!" student = ["悟空""小贝"]
student.remove("小贝")
# 请对message进行遍历,取出所有元素 print(students)
student.append("诺依")
print(students)
red=students[:1]
blue=students[1:]
print(erd)
print(blue)
\ 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