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

stuck at days_alive.py challenge 3 of 3

I have ran out of variations I can possibly think of and this is my end result to what I feel is the closet that I have been

days_alive.py
age = 25
days = age * 52 * 7
summary = "i am {} days old!" .format days

1 Answer

Seth Reece
Seth Reece
32,867 Points

Hi Shane,

You have a space before .format, and days is not in parentheses. e.g.

summary = "i am {} days old!" .format days #not working
summary = "i am {} days old!".format(days) #should work

thank you Seth

thank you for you help did the adjustments you said and worked thanks again