In Python while loop is used when a certain block is to be executed until the condition in while statement is true. A loop become infinite if the condition never becomes false.
In Python while loop is used when a certain block is to be executed until the condition in while statement is true. A loop become infinite if the condition never becomes false.