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 triallucasmangold
2,590 Pointsfun back in functions functions challenge 2nd task
I need help for the second task in the challenge thank you
1 Answer
Stephen Bone
12,359 PointsHi Lucas
OK so as it states you need to return a string using string formatting to drop in the correct values in place of X and Y.
def summarize(new_list):
return "The sum of {} is {}.".format(new_list, add_list(new_list))
Ken discusses the usage of this in more detail here: http://teamtreehouse.com/library/python-basics/ins-outs/string-formatting
Hope it helps!
Jason Anello
Courses Plus Student 94,610 PointsJason Anello
Courses Plus Student 94,610 PointsHi lucasmangold,
Can you post what you have so far so we can see what you might be doing wrong?