Commit 1ffdc06e by BellCodeEditor

save project

parent 81e86465
Showing with 4 additions and 10 deletions
students=["小贝","悟空","八戒","波奇"] message="诺伊,周末去动漫展玩吧!"
students.pop(2) for i in message:
print(students) print(i)
students.append("诺伊") \ No newline at end of file
print(students)
red=students[:2]
print(red)
blue=students[-2:]
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