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

Task 1 no longer passing error in: Things that Count task 4 quiz

Hi,

I am working on the last part of Things that Count quiz and when I post the final line of code for the quiz it says that task 1 is no longer passing. Below is my code. Any suggestions would be appreciated :)

age=24

days= age*52*7

decades= age/10

estimate= round(decades)

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

I figured it out. Had an unnecessary ( at the beginning and forgot an = sign.

Beat me too it :)

2 Answers

You need to assign the string "I am {} days old! That's about {} decades!".format(days, str(decades)) to the variable summary.

Your code should say:

summary = ...

Not:

summary( ...

Hope it helps!

Thanks!