You must leave the fors in the same order as in the code-block form, only popping the inner expression itself to the front:…
Breaking out of multiple "for" loops in Python
Python doesn't support break some_label; or break 3;, but it does support for-else…