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
MUZ140070 Nyasha L. Mupoperi
4,070 Pointshow do i make a variable named treehouse using tree and house
am on the ins and outs step
6 Answers
Vittorio Somaschini
33,371 PointsThe "H" in the last "House" word, should be lower case, try "house"
Also, in the variable name, you should put your name (this does not affect the challenge, but it would make much more sense)
Vittorio Somaschini
33,371 PointsHello there.
You can do it using string concatenation. Something like
treehouse = 'Tree' + 'house'
would work.
Please mind the upper case letters
;)
MUZ140070 Nyasha L. Mupoperi
4,070 Pointsthanx
MUZ140070 Nyasha L. Mupoperi
4,070 Pointshey its not working, is there another way of doing it??
Vittorio Somaschini
33,371 PointsI have just tested it.
It works fine.
What error message do you get?
Can you also paste your full code here? Task 1 code included
MUZ140070 Nyasha L. Mupoperi
4,070 Pointsname = "treehouse" treehouse = 'Tree'+ 'House'