OnlinePython

Creating Dictionaries Exercise

Question 1 of 5

You need to create a dictionary from two lists: colors = 'red', 'green', 'blue' and codes = '#FF0000', '#00FF00', '#0000FF'. Which approach is correct?