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 trial
Kyle Graham
1,627 PointsConditions
Hi, I was wondering if anyone could help me with one of my questions. I am having trouble figuring out the answer.
I have; admitted = None age = 15 if age >= 13:
I don't know how to get admitted to true.
2 Answers
Steven Parker
243,657 PointsThe first line sets "admitted" to "None", so setting it to "True" would look the same but substituting "True" for "None".
Also, you do not want to create and set the "age" variable. The challenge is going to do that itself when testing the program. Your code will only test that value.
Kyle Graham
1,627 PointsThank you so so much. I was so confused.