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 trialJuan Uribe
908 PointsI am reading through the directions and they seem unclear. Do I need to change the variable admitted's value?
The directions say to create a line of code that states admitted >= 13 then its true but value for admitted is none
admitted = None
1 Answer
Steven Parker
231,236 PointsThe existing code sets the initial value of "admitted".
You'll do a test, and based on the result you will give "admitted" another value.
rigel hope
9,890 Pointsrigel hope
9,890 PointsI think they're asking you to take advantage of the fact that the statement "age >= 13" is going to have a True or False value, and use that to assign the same value to "admitted" directly, like how "age = 1 + 1" will set age to 2.
remember, "=" sets a variable, and "==" compares for equality.