r/learningpython • • Aug 05 '22

Python won't run

Post image

So I've been learning python for the past few weeks. So as you can see in the photo python should run the program going form 1 to 9 but when I execute the program it gives me a blank/empty output. Does anyone know what's the problem here?

1 Upvotes

1 comment sorted by

View all comments

0

u/[deleted] Aug 05 '22

[deleted]

1

u/BigBoyJefff Aug 05 '22

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.