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 trialNick Gkoutziamanis
Courses Plus Student 135 PointsI need some help solving the quizzes.
I am not a native speaker so i don't completely understand the math terminology.This leads to numerous difficulties while learning how to code.In my opinion you should reveal the answer if a mistake is constantly made. In this particular example i had been stuck for quite a lot of time and even though i don't let go easily i tried to find the solution by rewatching the videos and i still made no progress.Can you please help me and consider applying the change i proposed ?
1 Answer
ds1
7,627 PointsHi, Nick- below is how I solved it:
years = 20 # if you are 20 yrs old
days = years * 365 # multiply years by 365
weeks = days / 7 # divide days by 7
Hope this helps! D.