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

name variable

Am I the only one that isn't getting this correct? I need to create a variable called name and the input is my name.

I did:

name = input("What's your name?") input =="Brett"

4 Answers

Kenneth Love
Kenneth Love
Treehouse Guest Teacher

The challenge doesn't even mention input() or "input". Just put your name as the value of the variable. For example, name = "Kenneth".

Hi Brett,

Task 1 only wants you to create a name variable and assign your name to it.

name = "Brett"

Thanks guys I guess I was overthinking it. I appreciate the fast feedback.

Ok hopefully this wont be for each question but it seems I am stuck again.

How does: print ("Tree" + "house") not give treehouse like the example? I used lowercase tree and that didn't work either. In the example it has the word Tree uppercase, not sure if that makes a difference.

You want to do something similar to the first task. It's not asking you to print the string but to assign it to a variable.

name = "Jason"
treehouse = "Tree" + "house"