title: Subtracting using while loop
body: <p>I am trying to subtract from a variable called <code>h</code> that is set to <code>1000</code> using another variable <code>x</code> which is set to get a random number from <code>3</code> to <code>65</code> using a <code>while</code> loop and it's giving me the same number over and over again not subtracting anything. </p>
  
  <pre><code>import random
  
  x = random.randrange(3, 65)
  h = 1000
  
  while True:
      h &gt; x
      print(h - x)
      if x &gt; h:
          break
  
  print('complete')
  </code></pre>