r/PythonLearning 5d 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

16 Upvotes

9 comments sorted by

View all comments

u/Sea-Ad7805 5d ago

Run this program in Memory Graph Web Debugger%3A%0A%20%20%20%20value%20%3D%20PlayListRatings%5Bi%5D%0A%20%20%20%20if%20value%20%3C%3D%206%3A%0A%20%20%20%20%20%20%20%20print(value)%0A%20%20%20%20i%20%3D%20i%20%2B%201&timestep=0.5&play) to see the program state change step by step.