Welcome to the Treehouse Community
Looking to learn something new?
Terrell Phinazee1,675 Points
I'm stuck with if then statement
admitted = None if age > 13: print ("True")
John Lindsey15,628 Points
For this problem, it is asking you to set admitted = True. This means you will need to set the admitted variable equal to True (no quotes because it is a Boolean and not a string). The 'then' part is just an 'else:' statement.
admitted = None if age > 13: admitted = True else: admitted = False