113k views
13 votes
Assignment 4: Evens and Odds


How do I fix this?

Assignment 4: Evens and Odds How do I fix this?-example-1

1 Answer

10 votes

There's definitely something wrong with your for loop. Try this:

for x in range(n):

You might want to check if all your print statements are correct. You might be missing just a period and it will be counted wrong.

User LittleTreeX
by
5.0k points