Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Kimberly Lie
3,617 Pointspresence of the 'age' variable in my code does not allow me to progress
hi, i tried deleting the 'age' variable from my code since the error stated that the 'age' variable have already been created and i do not need to create it anymore, but when i removed the 'age' variable i am not fulfilling the requirements in task 1. how do i pass this stage?
admitted = None
age = 14
if age > 13:
admitted = True
else:
admitted = False
2 Answers

Ryan S
27,275 PointsHi Kimberly,
The key with this one is the phrase "13 or more" in the Task 1 instructions, i.e., greater than or equal to.
Unfortunately, there seems to be a bit of a bug in this challenge where if you set an age
variable (even though you are not supposed to), you can still pass task 1 with only a "greater than" condition. But Task 2 will catch both errors.
Hope this helps.
EDIT: This bug has now been fixed.

Kimberly Lie
3,617 PointsOh ok! Missed the greater than or equal to part. Thanks for the help guys I think I got this! :)
Luke Hayes
Python Web Development Techdegree Student 1,230 PointsLuke Hayes
Python Web Development Techdegree Student 1,230 PointsAdmitted is supposed to be returned True if age is greater than or equal to 13. Your code is only checking if age is greater than 13, so admitted is going to return false if the person is 13 years old and not True until you have someone that is 14.