Commit 768a729c by BellCodeEditor

save project

parent 9e285989
Showing with 5 additions and 0 deletions
students = ["悟空","小贝","八戒","波奇"]
students.pop(-2)
students.extend("诺依")
red = students[:2]
blue = students[-2:]
print(red)
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