Advertisements
Advertisements
Question
Write the while loop to print the following series:
100, 98, 96, ...2
Code Writing
Advertisements
Solution
i = 100
while i >= 2:
print(i, end=", ")
i -= 2shaalaa.com
Is there an error in this question or solution?
