Computer Science, asked by kramsha2004, 7 months ago

Convert the following while loop into for loop:
i=0
while i<100
if i%2 ==0:
print i, "is even"
else:
print i,"is odd"
i=i+1 ​

Answers

Answered by Anonymous
0

sorry bro dont know the answer

Answered by maheraguddu
3

Answer:

for in range (100):

if i %2=0

print i,"is even"

else:

print i,"is odd"

i=i+1

Similar questions