Welcome to the Treehouse Community
Looking to learn something new?
Not sure what I'm doing wrong
Bummer: : Hmm...I answered the prompt with 'Red' but that's not what was in the variable favorite_color
I keep getting this error and I redid the challenge before this one but still get the same error message
favorite_color = input("What is your favorite color? ") favorite_color = "purple" print("The color", favorite_color, "is a great color!")
Paisley Myers209 Points
I think it will work if you take out the second line. You are defining favorite_color twice.
Christian Berglönn3,274 Points
As Paisley says, you're already letting the user define favorite_color with your input statement. By defining favorite_color again with "purple" probably just messes it up. Try removing favorite_color = "purple" and it probably will work.
props to Paisley Myers figured it out the red confused me because I put red for the other challenge before this one thanks guys