CONDITION-CONTROLLED LOOP

CONDITION-CONTROLLED LOOP

While

A re A condition-controlled loop uses a true/false condition to control the number of times that it repeats. In Python you use the while statement to write a condition-controlled loop

While Statement