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 Meet Python Using Input

man, I am feeling NOT smart at all... Is these a way to get more immediate help. conceptually I'm missing something...

I just can't seem to make it stick! This is a totally new environment for me.

input ("What is your favorite color?")
favorite_color = input("What is your favorite color?")
favorite_color = purple
input( "The color,"favorite_color", is a great color!")

2 Answers

You have a syntax error, which basically means the code that you wrote is syntactically incorrect. For example, in English you wouldn't write "You am", right?

In my honest opinion, I would suggest rewatching the video. This is a very important concept to understand and would hurt you to get an answer from here :)

In addition, think about what you want to do. You might want to combine multiple things together. Think about addition. The actual term is called concatenation, which is just a fancy word to say connected things. Also, do you want to print it?

Hi Daniel, Thank you for your answer it was vert helpful!