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 trialShane Harrigan
153 PointsI don't understand how to combine the treehouse variable with the string loves and the name variable
how do I get information on task 3 of 3 on how to create a new variable email_greeting that combines the variable treehouse to the string loves and the name variable I am confused about this
name = "Shane"
treehouse = "Tree" + "house"
email_greeting = "Tree" + "house" + "loves" + "Shane"
1 Answer
seyedmohammadrezamazloomnezhad
6,434 PointsHi Shane you can add string variables the same way you add strings here is the answer to that code challenge.
name = "your name "
treehouse = "Tree" + "house"
email_greeting = treehouse + " loves " + name
I hope this helps.^_^