Commit e46a591f by BellCodeEditor

auto save

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