New course! Every coder should learn Generative AI!
Try a free lesson+ 2
Why the time limit exceeds in sololearn? ?
1 Answer
+ 6
Sololearn's console output can only print a finite number of characters. Since your code is an infinite loop, you'll definitely hit that limit (though idk what the limit is)