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 (Retired) Ins & Outs Ins & Outs

Brandon Pharis
Brandon Pharis
1,773 Points

I 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

Hi Brandon,

In the third challenge the only "text" in the answer is " loves "(take note of the spaces). Otherwise, you are using variables.

Jeff

You are missing another plus sign after "loves " it seems.

Brandon Pharis
Brandon Pharis
1,773 Points

Finally, 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
Brandon Pharis
1,773 Points

Sorry thats hard to read. ^

name = "Brandon" treehouse = "Tree" + "house" email_greeting = treehouse + " loves" + name

Brandon Pharis
Brandon Pharis
1,773 Points

I got it last night. I think it was just a problem with their system. Thanks for the replies.