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

Don Dunlop
Don Dunlop
1,362 Points

Learn Python -- create variable 'treehouse' by combining 'Tree' and 'house': treehouse = "Tree" + "house" Fails?

Learn Python - Challenge task 2 of 3:

Now, create a variable named treehouse by combining two strings, "Tree" and "house".

Code:

treehouse = "Tree" + "house"

Gives me an error "Task 1 is no longer passing". Tried going back and reviewing the video again, even logging out and in again but can't get past this.

Am I missing something really obvious?

Don

name.py
treehouse = "Tree" + "house"

2 Answers

Sreng Hong
Sreng Hong
15,083 Points

Hi Don,

I think you did it right, but the error said "Task 1 is no longer passing", so what you did with task one code that ask to create variable and have a string of your name. You can try again.

name = "yourName"
treehouse = "Tree" + "house"

This works fine for me.

Kenneth Love
STAFF
Kenneth Love
Treehouse Guest Teacher

Each step is cumulative, so you (usually) won't be removing what you did in an older step.