Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialRomy Lener
Courses Plus Student 370 PointsI do not understand
I do not understand what is being asked by 'set admitted as True' I am trying to set the condition that should go through if age is > to 13 but there seems to be a syntax error that I am missing. I have reviewed the video but still unable to correct my code ...
admitted = None
If age> 13:
admitted is None
1 Answer
codeoverload
24,260 PointsThey want you to set the admitted variable to True if age is greater than 13.
if age > 13:
admitted = True # <- This is only executed if the age is greater than 13
'set admitted as True' just means that you assign True to your admitted variable.