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!
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 trial
Romy LenerCourses Plus Student 370 Points
I 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
They 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.