Commit 90963a1a by BellCodeEditor

save project

parent 6dfd6bd4
Showing with 3 additions and 2 deletions
students=["悟空","小贝","八戒","波奇"] students=["悟空","小贝","八戒","波奇"]
students.pop(2) students.pop(2)
students.append("诺依") students.append("诺依")
rad=students[2] rad=students[:2]
blue=students[2] blue=students[2:]
print(rad) print(rad)
print(blue) 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