Answer to Question #101084 in Python for Matthew
Write a for loop to print the numbers from 20 to 30
1
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!
Learn more about our help with Assignments:
Python
Comments
for i in range (20,31): print(i)
Leave a comment