title: How do i stop the infinite loop for the if and elif part?
body: <pre><code>c = random.randint(0,5)
  guess =int(input("="))
  while True:
      if guess &gt; c:
        print("you failed the test")
      elif guess &lt;c: 
        print("you messed up")
      else:
        print("you are the one" + x)
        break  
  </code></pre>