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 (2015) Python Data Types String concatenation

Kevin Jervis
Kevin Jervis
2,600 Points

String Concatenated

Hi Again

I added the missing quotation to the end but still get the message "Task one is not passing"

strings.py
name="Kevin"
status_message= "Treehouse loves {}.format ("Kevin"))"

1 Answer

Scott Dunstan
Scott Dunstan
12,517 Points

Hey, The quotes need to go after the '{}', so it should be:

status_message= "Treehouse loves {}".format ("Kevin")
Kevin Jervis
Kevin Jervis
2,600 Points

Hey Scott Just tried it and now getting a message saying: "NameError: name 'subject' is not defined"