I am a super noob with python. I was practicing some code and when it came to while loops this weird behavior emerged. The code involving while does not give output, not even an error message, on jupyter lab, or jupyter notebook. I've been work with while loop for months, and this behavior is new for me. I am learning Python for data science. So I just installed anaconda and usually work from there. notebook image
CodePudding user response:
It doesn't work because you never enter the while-loop, because x is not less than five.
