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 (Retired) Things That Count Things That Count

Python Challenge Task confusion

I'm confused at this phrasing,

"create a variable named days that is your age multiplied by 52 (we'll pretend today is your birthday) and multiplied by 7."

Am I supposed to be doing 2 different equations here, or am I simply missing the obvious?

age = (35 + 4)

days = (age) *52

1 Answer

Kelly von Borstel
Kelly von Borstel
28,880 Points

They want the calculations all in one line, like this:

age = 35
days = age * 52 * 7

Cheers. I'm kicking myself now that I see it. If it were a snake, it would have bitten me. :)