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 trialAntonio Pinto
1,325 PointsOops! It looks like Task 1 is no longer passing.
Have completed the challenge and on task 3 of 3 i get Task 1 is no longer passing.
age = int("30")
days = age * (52) * (7)
summary = input("I am {} days of age")
print(summary[age ])
2 Answers
jacobproffer
24,604 PointsHey Antonio,
You're close. For your summary variable, you don't need to take any input. You just need to make sure to use the format method to pass in the days variable.
Finally, you would only need to pass in the summary variable to print. Though this is not required for the challenge.
age = int("24")
days = age * 52 * 7
summary = "I am {} days of age".format(days)
# print(summary)
Antonio Pinto
1,325 PointsThanks for your help!