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![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![phil wilson](https://secure.gravatar.com/avatar/54f83c4c52fcf5eb76b752bceb086db2?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
phil wilson
Courses Plus Student 161 Pointsmultiply the number years 34 by the number of days in a year. We'll ignore leap years, so just multiply years by 365
i have ben stuck on this for 2 days now i need help please
years = 34
365 * 'years'
1 Answer
![Alexander Davison](https://uploads.teamtreehouse.com/production/profile-photos/4157542/micro_binary.jpg)
Alexander Davison
65,469 PointsHello Phil,
You are doing great! You have the right idea in mind
But be careful.
-
You did not assign the days calculated to a variable called
days
. The challenge asked you to do so. -
If you put a variable name in quotes, Python will think it is a string, which is a piece of text. Obviously you do not need any text to solve the problem, you only need numbers. So to actually get the value within
years
, you need to remove the quotes.
Once you've fixed the second line, it should look somewhat like this:
days = 365 * years
Happy coding! ~Alex