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
karthik meduri1,798 Points
Let's practice making a list. Make a new list variable named colors.
my code says to add more items in list.what can i do??
colors='five' my_list=["Red", "Blue", "Yellow", "Green", "Pink"]
Domenic Carobine9,014 Points
Hey, the quiz is asking for a list with the variable name color (see below). The quiz checker is only seeing the 1 string value "five" in your variable colors when it runs the original code you posted, so that's why it's asking for more items.
colors=["Red", "Blue", "Yellow", "Green", "Pink"]