Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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
STAFF
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.