title: Convert input str to int in python
body: <p>I get the error code:</p>
  
  <blockquote>
    <p>TypeError: '>' not supported between instances of 'str' and 'int' in
    its current state.</p>
  </blockquote>
  
  <p>The problem is that I don't know how to convert user input expectations to integer from string format.</p>
  
  <pre><code>number = input ("Please guess what number I'm thinking of. HINT: it's between 1 and 30")
  </code></pre>
  
  <p>I've looked up how to do it but I couldn't find what I was looking for because I'm not sure how to word my question properly. </p>
  
  <p>I've tried putting "<code>int</code>" after <code>number</code> and after <code>input</code> but it doesn't work. Not sure where to put it to get it to work. </p>