Commit c8378019 by BellCodeEditor

save project

parent 1e279086
Showing with 7 additions and 10 deletions
students = ["悟空","小贝","八戒","波奇"] message = "1234567890"
students.remove("八戒") length = len(message)
print(students) i = 0
students.append("诺依") while i < length:
print(students) element = message[i]
red = students[:2] print(element)
blue = students[2:] i += 1
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