+ 1
What does âwhile true:â mean?
While whatnis true? There is no parameters here..
3 Answers
+ 4
I think it is while True: is used to create an infinite loop. infinite loop is the loop which never ends.
+ 2
while true:
true is never changed. true is true, so while true, true is always true, so infinite loop.
0
Yes, while true stands for infinite loop but usually its used when condition its not simple then loop going interrupted inside loop