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 trialSiddharth Sharma
509 Pointsnotable to understand the .format function
Notable to complete this task
name="Siddharth"
subject="Treehouse loves {} "
s
1 Answer
Steven Parker
231,275 PointsYou're partway done with task 2. But you have an extra space at the end of your string. Then, you just need to attach the call to .format() to the end of the string and put your other variable inside the parentheses.
And remove that stray "s" on the third line.