Question #185501

Write a program with loops that prints the square of each number from 20 up to 220.

Output Segment

Square of 20 = 400

Square of 21 = 441

Square of 22 = 484

Square of 23 = 529

Square of 24 = 576

:

:

Square of 220 = 48400


Expert's answer

for i in range(20, 221):
    print('Square of', i, 'is', i*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!

LATEST TUTORIALS
APPROVED BY CLIENTS