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

manuel carmona
manuel carmona
Courses Plus Student 455 Points

I don't understand how to answer: Now, create a variable named treehouse by combining two strings, "Tree" and "house".

Everytime I Answer it gives me an error message "Oops! Looks like task one no longer functions..."

name = "manuel"

Treehouse = input"treehouse"

2 Answers

Dan Johnson
Dan Johnson
40,532 Points

The input function grabs input from a user. It's not needed for this challenge.

When you want to concatenate strings you can use the + operator, like this:

joined = "First " + "Second"

Would print:

"First Second"
manuel carmona
manuel carmona
Courses Plus Student 455 Points

MUCH appreciated. Thanks for the help, I didn't expect such a quick responce.

treehouse = "Tree" + "house" print(treehouse) it is not working i don't know why