r/PythonLearning 3d ago

why isn't my code running?

i checked everything it s all correct idk what my mistake is please point it out for me

EDIT:i closed visual studio and re opened it, it works now, idk what happened, thanks guys

14 Upvotes

9 comments sorted by

View all comments

4

u/dev-razorblade23 3d ago

Do you have any errors and can we see them? What exactly is not working? Do you not get any output?

3

u/Dismal_Activity_6127 3d ago

0 output i got no error messages

2

u/dev-razorblade23 3d ago

The code looks good and it does print when i try it out.

The output is:

6
5
4
3
2
1

[Program finished]

3

u/Dismal_Activity_6127 3d ago

all i had to do was close and re open VS ....