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 trialSimen Fossnes
3,226 PointsThis test is wrong. It gives me the Error "Bummer! Didn't find an 'if' in your code", which is totally wrong.
My code: admitted = None
if (age >= 13): admitted = True
There is nothing wrong, and I've run this code outside of the testing environment here. I hvae to conclude that the test is falsey. Please fix it, so I can move on :)
admitted = None
if (age>=13):
admitted = True
1 Answer
Steven Parker
231,271 PointsApparently, the "Check Work" function is confused by enclosing the test expression in parentheses.
Just remove them to pass the challenge. But you might also want to report this to Treehouse Support - it may even get you a "special Exterminator badge".