EN | DE

Stage 3.5: while

while lets you easily add a condition to a loop.

If the condition evaluates to false, the loop will exit.

Like the for expression, we can also use break to leave it or continue to skip the current iteration and start with the next iteration.

Further information: