Rewrite the following code using for loop:
j=100
while j>0:
print (j)
j-=3
else:
print ("Bye Bye")
Answers
Answered by
2
for j in range(100, 0, -3):
print(j)
print("Bye Bye")
Similar questions