Advertisements
Advertisements
Question
Rewrite the following for loop into while loop.
for a in range(25,500,25):
print aCode Writing
Advertisements
Solution
a = 25
while a < 500:
print(a)
a += 25shaalaa.com
Is there an error in this question or solution?
