+ 1
How does the while code works.
I tried using it but I always get errors
1 Odpowiedź
+ 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