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 trialjoacimsvensk
Courses Plus Student 863 Pointshelp Let's do one more calculation. Make a new variable named weeks. Give it the value of days divided by 7
python Let's do one more calculation. Make a new variable named weeks. Give it the value of days divided by 7........ i don't get it
1 Answer
Steven Parker
231,271 PointsIt's one more variable with a calculation like you did on task 2.
You didn't show your code, but you appear to be on task 3. Remember in task 2 you created a variable named "days", and assigned it with the calculation of "years" multiplied by 365? You should still have that code in the challenge at this point, and each task builds on the last.
So for task 3 you will do something very similar by creating "weeks" and assigning it to the calculation of "days" divided by 7.