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

Oops! It looks like Task 1 is no longer passing.

I dont understand this error message

days_alive.py
age = 35
days = age*52*7
summary = "I am " + int(days) + " days old !"

3 Answers

Vittorio Somaschini
Vittorio Somaschini
33,371 Points

Hello Konstantinos!

You want the string version of days here, not the integer version like you did!

Also, please note that you have an extra space at the end of the string which is not required.

Ty Vittorio

Kenneth Love
STAFF
Kenneth Love
Treehouse Guest Teacher

When step 2 or 3 or whatever introduces a syntax error, it'll report that step 1 is failing because it can no longer pass the validation for step 1.

Thanks Kenneth , I understand it now