title: Naming Loops in Python
body: <p>I recently read <a href="https://stackoverflow.com/questions/886955/breaking-out-of-nested-loops-in-java/886979#886979">this question</a> which had a solution about labeling loops in Java.</p>
  
  <p>I am wondering if such a loop-naming system exists in Python. I have been in a situation multiple times where I do need to break out of an outer <code>for</code> loop from an inner <code>for</code> loop. Usually, I solve this problem by putting the inner loop in a function that returns (among others) a boolean which is used as a breaking condition. But labeling loops for breaking seems a lot simpler and I would like to try that, if such functionality exists in python</p>
  
  <p>Does anyone know if it does?</p>