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 code challenge

I've been trying to figure this out for a couple of days now, this is what I currently have but no matter what I do, all it says when I check my work is that task 1 is now incorrect- this is monumentally unhelpful.

I'm not really looking for anyone to give me the answer straight out, but a hint, a clue?

age = 35
days = ((35*52)*7)
decades = (35/10)
estimate = round(decades)
summary = ("I am {} days old! That's about {} decades!".format(days, str(estimate)) 

2 Answers

Hi Renee,

You have an extra left parenthesis at the beginning of your string for summary

It should be this:

summary = "I am {} days old! That's about {} decades!".format(days, str(estimate))

Uhg, I was so close. This always seems to happen- off by just a single character, it's maddening. Thanks!!