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

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
STAFF
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"