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 trial

Python Python Basics (2015) Python Data Types Age Calculation

Cordell Key
Cordell Key
1,130 Points

Help with Python Numbers Challenge

Hi I don't understand why my code is wrong in the second step. I defined the Years, and set the days as well:

years = 42 days = years * 365

age.py
years = 42 
days = years * 356 

1 Answer

Cordell Key
Cordell Key
1,130 Points

Thank you Alex - I "Fat Fingered" the days value!