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
Carlos MartinCourses Plus Student 2,383 Points
I am getting this error message with my code.
Can anyone help?
favorite_color = input("What is your favorite color? ")
print("the color", favorite_color , " a great color!")
Alex KoumparosPython Development Techdegree Student 36,887 Points
The question requires that your output string be of the form "The color [USER INPUTTED COLOR] is a great color!"
Your code produces the following: "The color [USER INPUTTED COLOR] a great color!"
Note that there are two spaces between the end of the color name and the word "a". Note also that you are missing the word "is".