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

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