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 trialTalia Cruz
161 PointsI'm not understanding
I need to figure out exactly what it's asking of me
Years = '28'
3 Answers
Oszkár Fehér
Treehouse Project ReviewerHi Talia
When you create an int variable like your age in this case than it should be an integer not a string if you put 28 between ' ' it makes it a string: correct ==> Years = 28 , wrong ==> Years = '28'
i hope it helps to understand
Talia Cruz
161 PointsI did years = 28 and it came back wrong as well. That's why I was confused
Oszkár Fehér
Treehouse Project Revieweryears = 28
Oszkár Fehér
Treehouse Project Reviewerplease be carefull with the spelling, it's very important! when the question ask you to create a variable 'years', it happened with me also and this is the first thing what i check if it gives me an error i hope now i helped you
Talia Cruz
161 PointsOmg thank you, I didn't realize it was because of capitalization