While Loop In Python-Free Python Course

1 year ago
145

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...