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!
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
Atiba Lashley
5,724 PointsTreehouse loves name
I'm having an issue making the quiz editor say "Treehouse loves Atiba". When I put it in the work space area it was fine, so I'm not sure what the issue.
name = "Atiba"
treehouse = "Tree" + "house"
email_greeting = print("{} loves {}".format(treehouse,name))
3 Answers

Benjamin Balzer
937 PointsOriginally, Atiba, your print function was out of place, and kirkbyo's example set email_greeting well enough, but lacked a print function. If I recall correctly, the request was for "(name) loves (Treehouse).", so the following should work for you. Let me know if I can help elsewise, and good luck out there!
name = "Benjamin"
treehouse = "Tree" + "house"
email_greeting = ("{} loves {}".format(name, treehouse))
print (email_greeting) ```

Ronald Mjonono
196 PointsYou need to first create a code that will be adopted by the variable, proceed as follows name = "Ronald" "Treehouse loves {}" subject = "Treehouse loves {}".format(name)
That should do, let me know if you have any other questions

kirkbyo
15,791 PointsYou did everything right for this task, but instead of printing the "treehouse loves x". Just assign email_greeting the formatted string.
name = "Ozzie"
treehouse = "Tree" + "house"
email_greeting = "{} loves {}".format(treehouse, name)
Let me know if you have any other questions,
Ozzie