I was experimenting with a straightforward piece of code that would simply take a person's name and age and notify them when they turned 21 without taking into account any bad factors.
This "int" object is not subscriptable issue keeps occurring.
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."