Commit 222f9ffa by BellCodeEditor

save project

parent 5655997a
Showing with 1 additions and 7 deletions
message = "鲁A济南车,鲁B青岛的" message = "鲁A济南车,鲁B青岛的"
for i in range(len(message)): for i in messa:
print(message[i],end=" ")
for i in message:
print(i) print(i)
# 请使用索引的知识,取出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