Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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