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!
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
Zhang Dong Zhi982 Points
solution for input challenge task 2 of 2
i am stuck with the input challenge task 2 of 2 the first step is favorite_color = input("what is your favorite color? ") but i am stuck with the next step because it does not ask me what is your favorite color. someone please help
favorite_color = input("what is your favorite color? ")
In the first part of this challenge, you ask the user for their favorite color. That input is stored in the favorite_color variable, which means I can use that variable in a print statement like this:
print("The color", favorite_color, "is a great color!")
So if I answered that my favorite color is blue, this print statement would say: The color blue is a great color!
Hopefully, this answers your question!