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 trialAdam Gataev
9,633 Pointscreate a variable
I don't know what I am doing wrong.
favorite_color = "Black"
The color favorite_color is my favorite!
1 Answer
Marcus Grant
Courses Plus Student 2,546 PointsHi Adam,
You have assigned your variable correctly.
The issue lies on line 2. Do you remember the lessons on 'printing' o the console and using placeholders in strings?
I'll give you a clue.
print(" { guess what goes here }".format( guess what goes here ))
edit: It's more of a giveaway than a clue but leaving you to figure this one out and learn from it.
Adam Gataev
9,633 PointsAdam Gataev
9,633 PointsThanks!! And yes it is indeed more of a giveaway lol.