title: Weird behaviour when running the script
body: <p>I started to code a guess the number type of game. When I execute the program, it either flows perfectly, either doesn't work...</p>
  
  <pre><code>import random
  from random import randint
  
  print("Welcome to guess the number!\nDo you want to play the game?")
  
  question = input("")
  
  if question == "Yes".lower():
  print("Sweet! Let`s begin!\nGuess the number between 1 and 10!")
  
      number = random.randint(1, 10)
      guess = int(input("Take a guess!\n"))
  
      if guess &gt; number:
          print("Your guess is too high")
          guess = int(input("Take a guess!\n"))
  
      if guess &lt; number:
          print("Your guess is too low")
          guess = int(input("Take a guess!\n"))
  
      if guess == number:
          print("Your guess was correct!")
  
  elif question == "No".lower():
      print("Too bad! Bye!")
      quit()
  </code></pre>
  
  <p>I absolutely no idea whether it happens because of the code, or pycharm is to blame! </p>