While Loop In Python-Free Python Course

2 years ago
156

Python While Loop is used to execute a block of statements repeatedly until a given condition is satisfied. And when the condition becomes false, the line immediately after the loop in the program is executed.

Syntax:

while expression:
statement(s)

Loading 1 comment...