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 trialmanuel carmona
Courses Plus Student 455 PointsI 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
40,533 PointsThe 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"
prateek parasher
1,202 Pointstreehouse = "Tree" + "house" print(treehouse) it is not working i don't know why
manuel carmona
Courses Plus Student 455 Pointsmanuel carmona
Courses Plus Student 455 PointsMUCH appreciated. Thanks for the help, I didn't expect such a quick responce.