while loop
Also written: while, while True
A loop that keeps running while its condition is true, checking before each pass. It suits cases where you only know when to stop, and it runs forever if nothing makes the condition false.
Also written: while, while True
A loop that keeps running while its condition is true, checking before each pass. It suits cases where you only know when to stop, and it runs forever if nothing makes the condition false.