What is the output of this program?

colors = "red,orange,yellow,green,blue,indigo,violet"

colorList = colors.split(",")

print(colorList)

(1 point)
Responses

colorList

colorList

red,orange,yellow,green,blue,indigo,violet

red,orange,yellow,green,blue,indigo,violet

redorangeyellowgreenblueindigoviolet

redorangeyellowgreenblueindigoviolet

['red', 'orange', 'yellow', 'green', 'blue', 'indigo', 'violet']

1 answer

The output of the program will be:

['red', 'orange', 'yellow', 'green', 'blue', 'indigo', 'violet']

So the correct response is:

['red', 'orange', 'yellow', 'green', 'blue', 'indigo', 'violet']