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 trialJustin Roman
161 Pointscant get the product of years * 38, nothing is happening
trying to get years which is 38 * 365. wont give me the product when doing this , so cant assing value of product to days
years = 38
1 Answer
Groshvin Grover
327 PointsHey Justin Roman, I know it is frustrating sometimes but once you understand it should be easy. I am just in year seven who is 12 years old, who has no degree but wants to work for Google as a Software Engineer.
Okay so here is how you do the whole Code Challenge
You first want to put your age
years = 12
Then you want to multiply your age by 365
years * 365
After that, you want to find the days
days = years * 365
Finally, you want to find the weeks
weeks = days / 7
So below is what you must type to complete the Code Challenge (remember to click the return key after each line. E.g years 12, then you press the return key. years * 365 then you press the return and so on)
years = 12 years * 365 days = years * 365 weeks = days / 7
I hope this helped.