IniziaInizia gratis

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.

Questo esercizio fa parte del corso

Introduction to Python for Developers

Visualizza il corso

Esercizio pratico interattivo

Passa dalla teoria alla pratica con uno dei nostri esercizi interattivi

Inizia esercizio