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 trialwilliam Owens
812 Points'the color' not found in 'peagreen is my favorite color!' : Make sure you print out 'The color peagreen is my favorite!'
It keeps giving me this error but I can't see the problem. I ran the code in workspaces and it worked just fine. Does anyone know what the issue is?
favorite_color = "peagreen"
print(favorite_color, "is my favorite color!")
1 Answer
Alexander Davison
65,469 PointsThe thing is, code challenges are extremely picky. The printed result must be exactly what the code challenge wants. Unfortunately, that's simply the way computers work. I personally would agree that your code looks legit, even though you didn't exactly print out what the challenge wanted you to print, but apparently computers don't think this way ;-;
Try this:
print("The color", favorite_color, "is my favorite!")