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

Python Basics, Stage 2, Challenge Task 3 is confusing the heck out of me.

I'm just not sure what it's asking. Someone else asked the same question, but the answer didn't make much sense either. I'm trying everything here but I got nothing.

2 Answers

Kenneth Love
Kenneth Love
Treehouse Guest Teacher

So you have two variables, yeah? name with your name, and treehouse with the concatenation of "Tree" and "house" in it.

Now combine those with the word "loves" between them, treehouse + " loves " + name. There's a certain variable name you need to give this.

Hey, Kenneth! It's the man himself. Thanks for the answer!

Anyway, it was a classic "basic syntax mistake that makes you feel like a chump when you finally notice it" situation. I'd put in what you have there a few times, then when you said it I knew it was right, but I forgot the parentheses. All good now. Anyway, thanks again.