Computer Science, asked by mrgoodb62, 12 days ago

Rewrite the following while loop into for loop:

i=88
while(i>=8): print i
i- = 8​

Answers

Answered by Anonymous
1

for i in range(88, 0, -8):

print(i)

Alternative Method:

for i in range(88, 0):

print(i)

i -= 8

Similar questions