Commit c8378019 by BellCodeEditor

save project

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