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
Josh Keenan19,652 Points
Conditional value challenge and membership challenge [resolved]
Don't create the age variable or time variable in either challenge, they are passed in and if you create them you start an infinite loop of failure. Just code the if statements.
Nathan Tallack22,159 Points
Take care not to set the age yourself. They will pass the age in for you. So take out the statement where you are setting the age and leave it set to None as it is when you start the challenge.