Python code prints no output | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Python code prints no output

someone plz tell me why this code has no output thx! https://code.sololearn.com/cgCOLK00Fhde/?ref=app

23rd Feb 2020, 4:53 AM
QWKKK
QWKKK - avatar
3 Answers
+ 2
QWKKK I was mistaken. This is an infinite loop, the value of a never changes, thus any number bigger than 1 will keep the loop running forever. What are you trying to achieve?
23rd Feb 2020, 5:01 AM
Aymane Boukrouh
Aymane Boukrouh - avatar
+ 3
Probably because the output is too large. SoloLearn has a maximum number of characters for output. If you exceed it, it will show "No Output".
23rd Feb 2020, 4:56 AM
Aymane Boukrouh
Aymane Boukrouh - avatar
+ 1
Aymane Boukrouh thx... I realized that theres sth wrong with my loop...
23rd Feb 2020, 5:00 AM
QWKKK
QWKKK - avatar