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
Richard Mulder2,320 Points
After defining a variable, how do you call said variable into others?
name = 'Rick' treehouse = 'Tree' + 'house' email_greeting = 'Treehouse loves Rick'
Chris Shaw26,676 Points
The answer to task 3 is something you've done in task 2 which is concatenation which is the process of joining two or more strings together to form one single and larger string, in Python concatenation is achieved by simply using the
+ symbol which as I mentioned earlier you've already done in task 2.
See the below.
email_greeting = treehouse + ' loves ' + name
It's just that simple