+ 1
print a loop of squares in python keeping the range from 0 to 25 the loop shouls stop printing as soon as it encounters the numb
he
2 Answers
+ 3
please clarify your question!
i guess you are asking to print squares of number from 0 to 25
#this will do the job.
for i in range(25):
print(i**2)
+ 3
Something like this?
for a in range(25):
print(a, "squared =", a**2)