filmov
tv
#7 Learn to use Python while loop | While loop syntax and infinite loop

Показать описание
A loop statement allows us to execute a statement or group of statements multiple times. Python programming language provides while, for and nested loops to handle looping requirements, but in this tutorial we will talk only about while loops.
While loop statement in Python programming language repeatedly executes a target statement as long as a given condition is true.
While loop statement in Python programming language repeatedly executes a target statement as long as a given condition is true.