Q. Can a dictionary have a key of any data type?
β
Correct Answer: (D)
Only immutable types like strings, numbers, tuples
Explanation: Dictionary keys must be of immutable types such as strings, numbers, or tuples.