+ 1

What does “while true:” mean?

While whatnis true? There is no parameters here..

20th Jul 2018, 2:17 AM
john tettis
3 Answers
+ 4
I think it is while True: is used to create an infinite loop. infinite loop is the loop which never ends.
20th Jul 2018, 2:24 AM
$¢𝐎₹𝔭!𝐨𝓝
$¢𝐎₹𝔭!𝐨𝓝 - avatar
+ 2
while true: true is never changed. true is true, so while true, true is always true, so infinite loop.
20th Jul 2018, 3:19 AM
Paul Grasser
Paul Grasser - avatar
0
Yes, while true stands for infinite loop but usually its used when condition its not simple then loop going interrupted inside loop
20th Jul 2018, 8:25 AM
KrOW
KrOW - avatar