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

Mark Casavantes
Mark Casavantes
Courses Plus Student 13,401 Points

Opps. It looks like Task 1 is no longer passing. Where did I go wrong?

Task 1 and Task 2 initially passed. When I get to Task 3 I get the error message in the title. I assume I am making an error on line 5.

name = "Mark"
tree = "Tree"
house = "house"
treehouse = tree + house
email_greeting = name "loves "treehouse

2 Answers

Dan Johnson
Dan Johnson
40,533 Points

You'll want to add + to both sides of the " loves " string so the interpreter knows you want to concatenate them. Be mindful of the white space in the string as well.

And I believe that the correct output should be Treehouse loves name.

Mark Casavantes
Mark Casavantes
Courses Plus Student 13,401 Points

Thank you Gordon,

I should have read the question better.

Thank you for your feedback.