Control Flow and looping


#1



Replace this line with your code.

what is wrong with this code ?
can someone help me?


#2

The error says it should have printed zero, which tells me that the even numbers should be printed, not the odd ones.

Is there any reason why you have the,

var = False

and,

var = True

lines? It doesn't look like they serve any need.


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.