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 trialRakshith Nayak
1,893 PointsNeed help please
I don't understand how I am supposed to make admitted to true. Any input would be much appreciated. Thanks
admitted = None
age = 15
if age >= 13:
1 Answer
Name:GoogleSearch orJonathan Sum
5,039 PointsLet me give you an example. If you understand it ,you can do it. It is just like what i just said before.
you are _smart= None #You have to set the smart to None because we don't know it is True or False before the "If and else" statement yet. None means idk or wdk.
if your_iq>80: #again,i know var your_iq is undefined. However, when you set it greater than 80 ,it is defined.
you_are_smart= True #If your iq is greater than 80 ,your are a smart person
else:
you_are_smart= False # else means if the "if statement" from above fails. it means if your iq is less than 80 ,then you are not smart