Hi. So, I was messing around with the code and tried writing a simple if statement. It looked like this:
# Make sure that the_flying_circus() returns True def the_flying_circus(): age = raw_input("Are you a teenager? Lets find out! What is your age? ") status = "" #teenager or kid if age >= 13: status = 'teenager' return not False print "Yes! You are a %s!" % (status) elif age < 13: status = 'kid' return False print "No... you are a %s." % (kid) else: return False print "Whoops! You did something wrong."
There were multiple versions of this piece of code and none of them worked out like I wanted them to. Either I’d get an indent or syntax error. Can someone help me? Thanks in advance.