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

manuel carmona
PLUS
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.py
name = "manuel"

Treehouse = input"treehouse"

2 Answers

Dan Johnson
Dan Johnson
40,533 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"
print(joined)

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