Vidyalelo
Python · Q78

MCQs for Python Dictionaries: Exam

Programming · Python · question 78

Q78

Which of the following isn't true about dictionary keys?

A.
More than one key isn't allowed
B.
Keys must be immutable
C.
Keys must be integers
Answer
D.
When duplicate keys encountered, the last assignment wins

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board