Q. What happens when two keys in a dictionary are the same?
β
Correct Answer: (C)
The last key overwrites the previous one
Explanation: In a dictionary, duplicate keys are not allowed. The last assignment overwrites the previous one.