Commit 9e029ae1 by BellCodeEditor

save project

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