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 trialBrandon Pharis
1,773 PointsI do not understand what challenge task 3 of 3 in Stage 2 Ins & Outs of Python.
I tried multiple ways of doing it but every time i get to task 3 and put in code its says "Oops! It looks like Task 1 stopped working." The code i have used for task 3 is: email_greeting = (treehouse + "loves " name)
4 Answers
Jeff Busch
19,287 PointsHi Brandon,
In the third challenge the only "text" in the answer is " loves "(take note of the spaces). Otherwise, you are using variables.
Jeff
Brittany Allen
9,803 PointsYou are missing another plus sign after "loves " it seems.
Brandon Pharis
1,773 PointsFinally, create a new variable named email_greeting that puts treehouse and name into "X loves Y" so X is treehouse and Y is name.
This is the full code im using: name = "Brandon" treehouse = "Tree" + "house" email_greeting = treehouse + " loves" + name
ps. i had already added a + sign after name and still giving me an error. thank you though :)
Brandon Pharis
1,773 PointsSorry thats hard to read. ^
name = "Brandon" treehouse = "Tree" + "house" email_greeting = treehouse + " loves" + name
Brandon Pharis
1,773 PointsI got it last night. I think it was just a problem with their system. Thanks for the replies.