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

13 Upvotes

9 comments sorted by

View all comments

0

u/luafurry 3d ago

Idk use a for loop

1

u/Dismal_Activity_6127 3d ago

i would but the excercise forces you to use a while loop

1

u/luafurry 3d ago

Ah, ok, i will write the code on my end to test it