Replace this line with your code.
can someone help me?
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
var = True
lines? It doesn't look like they serve any need.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.