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

Anthony Loiacona
Anthony Loiacona
266 Points

Unsure how to prompt the variable its favorite color, set mine to green but i assume it has its own

Not sure what i am missing

1 Answer

Alex Koumparos
Alex Koumparos
Python Development Techdegree Student 36,887 Points

Hi Anthony,

I'm not sure exactly what you're asking. The question is telling you to prompt the user, not to 'prompt a variable'. You are supposed to assign the value you get from the user to the variable.

If you are unsure about how to get input from a user, try rewatching the video Input and Coding Style that is immediately before this challenge which covers exactly the topic of getting input from users.

If your problem with the challenge is something other than that, please describe it in as much detail as possible, and paste the code you tried.



Anthony Loiacona
Anthony Loiacona
266 Points

figured it out, i suppose conceptually i was over thinking the concept of input, I appreciate your advice and help, thanks Alex