Q. Which of the following is the correct way to define a dictionary?
β
Correct Answer: (C)
dict = {1: 'a', 2: 'b'}
Explanation: Dictionaries are defined using curly braces `{}` with key-value pairs separated by colons.