title: Error: 'int' object is not subscriptable - Python
body: <p>I was trying a simple piece of code, get someone's name and age and let him/her know when they turn 21... not considering negatives and all that, just random. </p>
  
  <p>I keep getting this <code>'int' object is not subscriptable</code> error.</p>
  
  <pre><code>name1 = raw_input("What's your name? ")
  age1 = raw_input ("how old are you? ")
  x = 0
  int([x[age1]])
  twentyone = 21 - x
  print "Hi, " + name1+ " you will be 21 in: " + twentyone + " years."
  </code></pre>