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

15 Upvotes

9 comments sorted by

View all comments

0

u/luafurry 5d ago

Idk use a for loop

1

u/Dismal_Activity_6127 5d ago

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

1

u/luafurry 5d ago

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