Commit a16d7bd9 by BellCodeEditor

auto save

parent 6c34c3ae
Showing with 4 additions and 2 deletions
...@@ -3,4 +3,6 @@ for i in range(len(message)): ...@@ -3,4 +3,6 @@ for i in range(len(message)):
print(message[i],end=" ") print(message[i],end=" ")
for i in message: for i in message:
print(i) print(i)
# 请使用索引的知识,取出message所有元素(不用遍历的方式) # 请使用索引的知识,取出message所有元素(不用遍历的方式)
\ No newline at end of file for i in range(-1,-11,-1):
print(message[i],end=" ")
\ 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