Answer to Question #101084 in Python for Matthew

Question #101084
Write a for loop to print the numbers from 20 to 30
1
Expert's answer
2020-01-09T04:11:40-0500

# Python 2.x

for i in range (20, 31):

print i


# Python 3.x

for i in range (20, 31):

print(i)


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

Griffin
08.01.20, 16:25

for i in range (20,31): print(i)

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS