Commit 1ffdc06e by BellCodeEditor

save project

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