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)
![SandraLee Rowe](https://uploads.teamtreehouse.com/production/profile-photos/11719936/micro_IMG_20240302_194416.webp)
SandraLee Rowe
3,637 PointsI've tried all the possible solutions that came to mind, but I'm still unsure where I might be making a mistake.
favorite_color=input ('purple')
purple=input ('The color purple is a great color!')
2 Answers
![Travis Alstrand](https://uploads.teamtreehouse.com/production/profile-photos/11658224/micro_travis.jpg)
Travis Alstrand
Data Analysis Techdegree Graduate 49,407 PointsHey SandraLee Rowe !
So for the first part of the challenge it's asking us to prompt the user "What is your favorite color? " and save their response to a favorite_color
variable.
favorite_color = input("What is your favorite color? ")
For the second part of the challenge, it needs to be dynamic so that no matter what color the user inputs, it will be added into the string. It also mentions we need to print
the message so we don't need another variable here. We'll need to close the strings and use commas to separate the values like in the previous videos.
print("The color ", favorite_color, "is a great color!")
I hope this makes sense!
![SandraLee Rowe](https://uploads.teamtreehouse.com/production/profile-photos/11719936/micro_IMG_20240302_194416.webp)
SandraLee Rowe
3,637 PointsAwesome thank you for helping me.
![Travis Alstrand](https://uploads.teamtreehouse.com/production/profile-photos/11658224/micro_travis.jpg)
Travis Alstrand
Data Analysis Techdegree Graduate 49,407 PointsYou're very welcome!