title: "while" logic operator makes program not work
body: <p>I've been learning Python for about 4 days and I'm just dealing with my first problem.</p>
  
  <pre><code>import random
  number=random.randint(1,10)
  count=1
  guess= int(input("Enter your guess between 1 and 10 : "))
  
  while number != guess:
      count = count + 1
  
  if guess == number:
      print("That is my number !")
  
  while guess &lt; number:
      guess = int(input("Too low :( Guess again ! : "))
      if guess == number:
          print("That is my number !")
  
  while guess &gt; number:
      guess = int(input("Too high :( Guess again ! : "))
      if guess == number:
          print("That is my number !")
  </code></pre>
  
  <p>My program just print only first input line and then nothing.</p>
  
  <pre><code>Enter your guess between 1 and 10 : 
  </code></pre>
  
  <p>Why is that?</p>
  
  <pre><code>while number != guess:
      count = count + 1
  </code></pre>
  
  <p>When I delete this two lines, it works perfectly.</p>