[Solved] There is no error but nothing is printed, but if I print inside the while loop then it is printed multiple times. How do I fix this? [closed]

[ad_1]

There is no error but nothing is printed, but if I print inside the while loop then it is printed multiple times. How do I fix this? [closed]

[ad_2]

solved There is no error but nothing is printed, but if I print inside the while loop then it is printed multiple times. How do I fix this? [closed]