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 trialMoe Myint Kyal Sin
Courses Plus Student 553 PointsHow can I multiply?
This is the question : Great! Now we need to multiply the number years by the number of days in a year. We'll ignore leap years, so just multiply years by 365 and assign it to the variable days. And this is what I answer but I can not pass: https://teamtreehouse.com/library/python-basics/python-data-types/age-calculation
age = 15
years = 365
age *= 2002
years *= 365
1 Answer
Jessica Radliff
1,313 PointsHi Moe, you need to make your age variable say years. So for me it would be: years = 29 Then you need to make a variable days and set that to years * 365. So: days = years * 365 Enter those two lines of code and you'll be all set
Moe Myint Kyal Sin
Courses Plus Student 553 PointsMoe Myint Kyal Sin
Courses Plus Student 553 Pointshttps://teamtreehouse.com/library/python-basics/python-data-types/age-calculation Thank you very much for helping. :)