
Aryan Bhatia
1,601 PointsList creation (coding Challenge) Add more Items !
I have written my code just like it should be but it keeps saying Bummer! Add more items
colors = ["red, blue, black, yellow, pink, green, white, purple"]
4 Answers

Duy Pham
Pro Student 44,614 PointsThe problem is asking for 5 items in a list called colors. What you have in your code right now is one item as type String. To correct this, you have to put the end double quote for each of the colors you represent in the list, like this:
colors = ["red", "blue", "black", "yellow", "pink"]
By this way, now you will have 5 items in a list as type String. Hope that makes sense!!!!Good luck

Moosa Bonomali
6,090 PointsEach color should be a separate string, separated by a comma. The way you have written a list is a array with a single entry. "red, blue, black, yellow, pink, green, white, purple"
So rather it should look like this;
colors = ["red", "blue", "black", "yellow", "pink", "green", "white", "purple"]

Aryan Bhatia
1,601 PointsThanks a lot, very helpful

Miranda Shipley Gonzales
222 PointsThank you! I asked a similar question during this challenge. I also found, I could answer the question by entering numbers inside square brackets without quotes, and still pass. Weird.
Aryan Bhatia
1,601 PointsAryan Bhatia
1,601 PointsThanks A lot I completely forgot