
Andrew Flack
186 PointsHow do I rename a list
The list example is saying to make a list of colors and when I do it returns red undefined.
my_list = [ green, blue, red, purple, pink]
1 Answer

Chase Stevens
11,056 PointsHi Andrew,
Couple things here:
- The challenge is asking you to make a list named
colors
, but it seems your list is namedmy_list
. - You're need to add
green, blue, red, purple, pink
as strings; otherwise, your program won't know what is in the list!