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![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![Pandu ram](https://secure.gravatar.com/avatar/1cc3a02145d9220b6e872c6194c06c9c?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Pandu ram
147 Pointsfavorite_color = "Mauve"
favorite_color = input("What is your favorite color?")
print("The color {} is a great color!".format(favorite_color))
2 Answers
![Peter Vann](https://uploads.teamtreehouse.com/production/profile-photos/8935412/micro_MaiTaiPeteGravatar.jpg)
Peter Vann
36,426 PointsHi Pandu!
Sometimes the challenge test program is brutally unforgiving...
favorite_color = input("What is your favorite color? ") # You are missing the space after the question mark
print("The color {} is a great color!".format(favorite_color))
Sometimes it helps to actually copy and paste the example text to get it right.
In this case, the space after the question mark is necessary or it won't look right to the user when he/she is prompted and types his/her answer.
When the code is running, without the space, he/she would see:
What is your favorite color?blue [user hits enter]
When what you want it this:
What is your favorite color? blue [user hits enter]
Does that make sense?
I hope that helps.
Stay safe and happy coding!
![Peter Vann](https://uploads.teamtreehouse.com/production/profile-photos/8935412/micro_MaiTaiPeteGravatar.jpg)
Peter Vann
36,426 PointsHi Pandu!
One limitation of the Treehouse challenges is that you can't always see how the code they have you write actually runs.
So I often go here:
https://www.katacoda.com/courses/python/playground
To test it for myself; to see if it behaves as I imagine it should!?!
I hope that helps.
Stay safe and happy coding!