title: I keep getting the error message 'TypeError: 'int' object is not subscriptable' in python
body: <p>I have tested this code several times and keep getting the same error message.</p>
  
  <pre><code>TypeError: 'int' object is not subscriptable
  </code></pre>
  
  <p>Here is the code which has the problem:</p>
  
  <pre><code>guess = int(guess)
  number = int(number)
  if guess[0] == number[0]:
      ## other (correct)code goes here
  </code></pre>