+1 vote
in Class 12 by kratos

Rewrite the following for loop into while loop:

for a in range(25,500,25):

print a

1 Answer

+6 votes
by kratos
 
Best answer

a=25

while a < 500:

print a

a = a + 25

...