Aan de slagGa gratis aan de slag

Breaking a while loop

You saw in the video that if a condition continues to be met then a while loop will run indefinitely!

Can you remember the ways that you can stop a while loop from running forever? Select the two answers that apply.

Deze oefening maakt deel uit van de cursus

Introduction to Python for Developers

Cursus bekijken

Praktische interactieve oefening

Zet theorie om in actie met een van onze interactieve oefeningen.

Begin met trainen