title: Checking if input is integer in Python3.7 gives error
body: <p>I am trying to check if the input is integer. But the code is repetedly saying "something else" in each and every input I give. Is something wrong with the code?</p>
  
  <pre><code>x = input("enter:")
  if type(x) == int:
      print("int")
  else:
      print("something else")
  </code></pre>