r/PythonLearning • • Jul 11 '25

Code won't print

Post image

What's the error?(I'm a newbie)

115 Upvotes

86 comments sorted by

View all comments

0

u/[deleted] Jul 11 '25

[deleted]

1

u/Pyrix25633 Jul 11 '25

Yeah man but what about i+=2, in other scenarios you might want to do something else if it's odd though obviously