Commit a16d7bd9 by BellCodeEditor

auto save

parent 6c34c3ae
Showing with 3 additions and 0 deletions
...@@ -4,3 +4,5 @@ for i in range(len(message)): ...@@ -4,3 +4,5 @@ for i in range(len(message)):
for i in message: for i in message:
print(i) print(i)
# 请使用索引的知识,取出message所有元素(不用遍历的方式) # 请使用索引的知识,取出message所有元素(不用遍历的方式)
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