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

1

u/TheCarter01 Jul 12 '25

Here's a more simplified version:

for i in range(1, 10, 2): print(i)