The while loop is like a repeated if statement. The code is executed over and over again, as long as the condition is True.
 Have another look at its recipe.

while condition :
    expression
Can you tell how many printouts the following while loop will do?

x = 1
while x < 4 :
    print(x)
    x = x + 1
Instructions
50 XP
Possible Answers
1)0
2)1
3)2
4)3
5)4



Answers:  4)  3
