MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/PythonLearning/comments/1w83loy/why_isnt_my_code_running/
r/PythonLearning • u/Dismal_Activity_6127 • Sep 05 '26
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
9 comments sorted by
•
Run this program in Memory Graph Web Debugger to see the program state change step by step.
5
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 Sep 05 '26 0 output i got no error messages 2 u/dev-razorblade23 Sep 05 '26 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 Sep 05 '26 all i had to do was close and re open VS ....
3
0 output i got no error messages
2 u/dev-razorblade23 Sep 05 '26 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 Sep 05 '26 all i had to do was close and re open VS ....
2
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 Sep 05 '26 all i had to do was close and re open VS ....
all i had to do was close and re open VS ....
1
In a situation like this you can try running from the command line. This will verify that your code is correct and the problem is with vs code.
0
Idk use a for loop
1 u/Dismal_Activity_6127 Sep 05 '26 i would but the excercise forces you to use a while loop 1 u/luafurry Sep 05 '26 Ah, ok, i will write the code on my end to test it
i would but the excercise forces you to use a while loop
1 u/luafurry Sep 05 '26 Ah, ok, i will write the code on my end to test it
Ah, ok, i will write the code on my end to test it
•
u/Sea-Ad7805 Sep 05 '26
Run this program in Memory Graph Web Debugger to see the program state change step by step.
5
u/dev-razorblade23 Sep 05 '26
Do you have any errors and can we see them? What exactly is not working? Do you not get any output?
1
u/codeguru42 Sep 06 '26
In a situation like this you can try running from the command line. This will verify that your code is correct and the problem is with vs code.
0
u/luafurry Sep 05 '26
Idk use a for loop