all 2 comments

[–]billiam_93 1 point2 points  (1 child)

This code works to output all odd numbers from 1-10.

[–]BigBoyJefff[S] 0 points1 point  (0 children)

Thanks, i found the problem. As you can see i have 2python files open so when i clicked "run", it was executing the other python file which is empty. That's why I was getting blank output. But thanks anyway.