title: How to get back to start of loop from else
body: <pre><code>x=0
  y=0
  
  while 1==1:
  
      while y!=5:
          y=y+1
          print(str(x) + str(y))
  
  
      else:
          x=x+1
          #NOW GO TO WHILE 1==1 AND DO THAT AGAIN 
  </code></pre>
  
  <p>This code should print <code>01; 02; 03; 04; 05</code> and then it should print <code>11; 12; 13; 14; 15</code>. But in reality it does only the first five prints because I don't know how to get to the start again after <code>else:</code>.</p>
  
  <p>EDIT: I am so sorry, i tried to make the code easier to understand and i made few mistakes instead, that werent really a problem. </p>