Commit f9df6305 by BellCodeEditor

save project

parent fe10a199
Showing with 7 additions and 2 deletions
...@@ -3,4 +3,10 @@ message = "诺依,周末一起去看动漫展吧!" ...@@ -3,4 +3,10 @@ message = "诺依,周末一起去看动漫展吧!"
# 请对message进行遍历,取出所有元素 # 请对message进行遍历,取出所有元素
for i in message: for i in message:
print(i) print(i)
\ No newline at end of file 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