+ 1

How does the while code works.

I tried using it but I always get errors

18th Apr 2021, 5:46 PM
Sphiwe Nonkumbi
Sphiwe Nonkumbi - avatar
1 Answer
+ 9
In Python, While Loops 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. While loop falls under the category of indefinite iteration. Indefinite iteration means that the number of times the loop is executed isn’t specified explicitly in advance. https://code.sololearn.com/ct9mQ6zvJ68d/?ref=app
18th Apr 2021, 5:54 PM
Kǟrɨsɦmǟ ❥
Kǟrɨsɦmǟ ❥ - avatar