The correct line of code to create a Python list is:
availableColors = ["red", "yellow", "blue"]
Which line of code will correctly create a Python list?
(1 point)
Responses
availableColors = "red", "yellow", "blue"
availableColors = "red", "yellow", "blue"
availableColors = ("red", "yellow", "blue")
availableColors = ("red", "yellow", "blue")
availableColors = {"red", "yellow", "blue"}
availableColors = {"red", "yellow", "blue"}
availableColors = ["red", "yellow", "blue"]
1 answer