Complete the code to create a list of fruits.
fruits = [[1]]The list must contain strings with quotes and separated by commas.
Complete the code to display the first fruit in the list.
print(fruits[[1]])
List indexes start at 0, so the first item is at index 0.
Fix the error in the code to display all fruits separated by commas.
print([1](", ", fruits))
The join method combines list items into a string separated by the given string.
Fill both blanks to create a dictionary with fruit names as keys and their colors as values.
fruit_colors = [1]: [2]
A dictionary uses curly braces with key-value pairs separated by colons.
Fill all three blanks to create a list of dictionaries, each with a fruit and its color.
fruits = [[1], [2], [3]]
Each item in the list is a dictionary with keys 'name' and 'color'.
