Answer to Question #250954 in Python for Ellie

Question #250954

Write a loop to print 56 to 70 inclusive (this means it should include both the 56 and 70). The output should all be written out on the same line.

Sample Run

1
Expert's answer
2021-10-13T16:58:34-0400
# print(*range(56, 71))
for i in range(56, 71):
    print(i, end=' ')

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS