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)
![shubham Sharma](https://secure.gravatar.com/avatar/b23cf9b43ae769f9cb7b230bdf1cba89?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
shubham Sharma
1,166 Pointswhat is the mistake here?
it says task 1 not working
admitted = None
if age > 13 :
admitted = bool(1)
else :
admitted = bool(0)
2 Answers
![Ken Alger](https://secure.gravatar.com/avatar/cf2cad7e6e37acacfa5201068856ed3d?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Ken Alger
Treehouse TeacherShubham;
Check your indentation and the challenge is to check if age
is greater than or equal to thirteen.
Ken
![Dan Garrison](https://uploads.teamtreehouse.com/production/profile-photos/1395042/micro_IMG_0001.jpg)
Dan Garrison
22,457 PointsIt's the indenting. It will cause a syntax error the way it is set up right now. Also bool(1) and bool(0) work, but you could also just use True and False
nakalkucing
12,964 Pointsnakalkucing
12,964 PointsI take it task 1 is passing the challenge. In which case don't worry about it. It tells you that task 1 is no longer passing when it's not sure of what your problem is. Your problem is in your most recent bit of coding. So focus your attention there. Hope this helps, Nakal