Computer Science, asked by dhruvkotadiya0235, 6 months ago

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 AmanRatan
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