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!
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

Steven Reich
395 Pointspython challenge code, how many days old years = 60 60 * 365 = days
tried several different things, needless to say new to python, so far like it though. please help?

Jason Anders
Treehouse Moderator 145,840 PointsNot sure exactly what your question is regarding? Please link directly from challenges/quizzes by clicking the Get Help button. Or, for know, paste the link to the challenge in a comment here with a bit more of an explanation of what you have tried and where you are stuck.
2 Answers

Chris Freeman
Treehouse Moderator 68,389 PointsThe python code in the question title has improper syntax.
The assignment to years
is correct:
years = 60
The assignment to days
needs to be flipped:
days = 60 * 365
# or
days = years * 365

Steven Reich
395 Pointsthanks that helped
jag
18,266 Pointsjag
18,266 PointsLink challenge.