title: How to make an algorithm repeat itself in python
body: <p>i am trying to make the simplest algorithm i could make , the problem is i can't make the algorithm repeat it self, this is my code :</p>
  
  <pre><code>x=5
  y=int(input('GUESS the number: '))
  if y==x:
   print('you win! ')
  elif y&lt;x:
   print('x is lower than',y)
  elif y&gt;x:
   print('x is higher than',y)
  </code></pre>
  
  <p>As you can see after executing the program , It will ask you about the number , after that it will tell you if it's correct/higher/lower , the problem is when it says the number is lower/higher, the program will end , I want the a</p>