+ 1
can somebody describe the "while true" statement
2 Respuestas
+ 10
"while condition:" repeats the instructions in the block while the condition is true. Using "while True:" allows you to loop the execution of the block indefinitely. You can still use break to break out of the loop, but otherwise this is what is called an infinite loop.
+ 1
awesome thanks