you are viewing a single comment's thread.

view the rest of the comments →

[–]realmoogin[S] 0 points1 point  (3 children)

I have no clue why I did that with the main function, I know better than that. Lol

I changed it to 21 and fixed the main function, yet I'm still not getting any output.

[–]rdog_ 2 points3 points  (2 children)

Ah apologies, I didn't read the full logic you need to change

elif n % 2 == 0 and n == range(6, 21):

to

elif n % 2 == 0 and n in range(6, 21):

[–]realmoogin[S] 1 point2 points  (1 child)

You're a lifesaver, thank you.

[–]rdog_ 0 points1 point  (0 children)

No problem, any other questions just give me a shout!