Python Forum
“While” Loop Problems - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: “While” Loop Problems (/thread-27917.html)



“While” Loop Problems - Ryan_teresi - Jun-27-2020

When I do this loop it just keeps repeating same number infinitely
Pls help
https://ibb.co/Snnk04w (I couldn’t get imgur to work her here is that)


RE: “While” Loop Problems - Larz60+ - Jun-27-2020

please post code inline using bbcode tags see: https://python-forum.io/misc.php?action=help&hid=25
You will get better results as many users won't follow links


RE: “While” Loop Problems - pyzyx3qwerty - Jun-27-2020

I don't understand what's wrong with your code - it works perfectly fine for me.
However, it does seem like you are running the wrong file


RE: “While” Loop Problems - tanv321 - Jun-27-2020

I think you're running the wrong file(jj.py) in Pycharm. You should be running gg.py.