jedd marrasPro Student 346 Points
Hi I'm having trouble answering this question:
Make a new list variable named colors. Fill it with at least 5 items. They should be colors but I won't mark you off for that.
My answer, which is wrong:
colors = [green,yellow,pink,red,brown]
colors = [green,pink,yellow,orange,green]
Just add quotes:
colors = ['green', 'pink', 'yellow', 'orange', 'green']
Michael Barlow34,317 Points
To add to Sebastian's answer, jedd marras, the items in your list are undefined identifiers, and the question was looking for a list of strings. If you assigned strings to each one of the identifiers (e.g.
green = 'green') prior to creating the list, then your answer would technically be correct.