title: how to restart "for" loop in python ?
body: <p>How can I do this in python:</p>
  
  <pre><code>x = [1,2,3,4,5,6]
  for i in x:
      if i == 4:
         -restart the loop from beginning-
      else:
          print i
  </code></pre>
  
  <p>So here it will print till 4 then repeat the loop  </p>