Commit 194f25ea by BellCodeEditor

save project

parent 3f69605c
Showing with 5 additions and 3 deletions
...@@ -2,5 +2,7 @@ student = ["悟空","小贝","八戒","波奇"] ...@@ -2,5 +2,7 @@ student = ["悟空","小贝","八戒","波奇"]
student.pop(2) student.pop(2)
student.append("诺伊") student.append("诺伊")
print(student) print(student)
red = ["悟空","小贝"] red = ["悟空","小贝","八戒","波奇"]
blue = ["八戒","波奇"] blue = ["八戒","波奇","悟空","小贝"]
\ No newline at end of file red[0:1]
blue[2:3]
\ 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