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 trialBrett Burky
3,895 Pointsname 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
Treehouse Guest TeacherThe challenge doesn't even mention input()
or "input". Just put your name as the value of the variable. For example, name = "Kenneth"
.
Jason Anello
Courses Plus Student 94,610 PointsHi Brett,
Task 1 only wants you to create a name
variable and assign your name to it.
name = "Brett"
Brett Burky
3,895 PointsThanks guys I guess I was overthinking it. I appreciate the fast feedback.
Brett Burky
3,895 PointsOk 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.
Jason Anello
Courses Plus Student 94,610 PointsYou 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"