Welcome to the Treehouse Community
Looking to learn something new?
On this challenge, I am asked the following: ====Challenge Task 2 of 2
OK, one more. Add an else to your if. In the else, set admitted to False.====
So I added the else statement, following by admitted = False and the answer turns out to be incorrect. I don't see what is wrong with that answer.
admitted = None if age >= 13: admitted = True else: admitted = False
Steven Parker216,057 Points
The indentation of an "else" must always line up with the corresponding "if" .