dict is a dictionary, there is a different between your code and solution. You are putting values comma separated, but in dictionary we have (key, value) pair, denoted like this {"Apple": "Red"}.
dict
{"Apple": "Red"}