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![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![Clainos Machemedze](https://secure.gravatar.com/avatar/352ad4a7bd064131d1eddfc06eb36743?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Clainos Machemedze
1,330 Pointsam failing to get the implied sense from the error message
there is a question about if statements which needs to have two variable with one having none being supposed to be true
admitted = None
age = 10
if age >= 13:
# moderator redacted print statement for inappropriate content
print("...")
elif admitted < age:
print("Still a young fella!")
1 Answer
![behar](https://uploads.teamtreehouse.com/production/profile-photos/9585102/micro_anon.jpg)
behar
10,799 PointsHey Claninos! Your a little off topic here, it dosent really seem that youve followed the instructions, Your code really dosent have anything to do with what the challenge is asking you to, ill try to break it down here:
- Create an if statement that check if age <= 13
- If that is the case set the variable admitted to True
- Add an else statement that sets admitted to false, if its not bigger than or equal to 13 Lastly, dont create the age variable yourself, it has already been created. Ive posted the correct solution below, but try to solve it yourself before looking at it: Please write back if you need more help!
Jennifer Nordell
Treehouse TeacherJennifer Nordell
Treehouse TeacherHi there, Clainos Machemedze! I've redacted the code in your question to remove a sexual reference. Please refer to the Treehouse Code of Conduct for more information and guidelines about using the Community.![:sparkles: :sparkles:](https://image-proxy-cdn.teamtreehouse.com/6bdf233d70e10f861f7e4f3b6d6fcb7b924688b0/68747470733a2f2f7374617469632e7465616d74726565686f7573652e636f6d2f696d616765732f656d6f6a692f756e69636f64652f323732382e706e67)