title: Run code after iteration is done
body: <p>Perhaps I am thinking to difficult but I want to know if it possible to execute code after the <code>for</code> loop is finished? </p>
  
  <p>I need a mechanism that knows that the loop is finished and execute code when the for loop is finished. </p>
  
  <p>Simple example:</p>
  
  <pre><code>numbers = ['1','2','3','4','5']
  length_numbers = len(numbers)
  
  for i in range(0, length_numbers):
      print(i)
      if i == length_numbers + 1:
          print("yep list is finished and execute code below")
          # .... &lt;-- code will be placed here
  </code></pre>
  
  <p>This will not work because the <code>i</code> value will never become the value 5. I am sure there is an easy way to fix this. Can anyone tell me how I could achieve that? Perhaps I should change the construction and not use a <code>for</code> loop?</p>