vendredi 1 mai 2015

Breaking an if inside a while

I have the code below.

while True:
    if 3 > 2:
        break

Will the break return back to the while and cause an infinite loop, or will it break the while and continue in the flow?

Aucun commentaire:

Enregistrer un commentaire