Rewrite following program using for loop
1. i = 115
while i > 110:
print(i)
i -= 1
2. i = 0
while i < 3:
print( i )
i += 1
else:
print( 0 )
3. i = 13
while i > 0:
print( i )
i -= 1
else:
print( 0 )
Answers
Answered by
0
Answer:
i -= 1
2. i = 0
while i < 3:
print( i )
i += 1
else:
print( 0 )
3. i = 13
while i > 0:
print( i )
i -= 1
else:
print( 0 )
Explanation:
Similar questions