Commit 5d1f6bf3 by BellCodeEditor

save project

parent 33285aa2
Pipeline #7163 failed in 0 seconds
Showing with 8 additions and 5 deletions
list = ["a", "b", "c", "d"] students = ["悟空","小贝","八戒","波奇"]
list.remove("c") students.remove("八戒")
list.append("e") students.append("挪移")
print(students)
red = students[0:2]
blue = students[2:]
print(red)
print(blue)
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