Report Bug

Qus: Which statement about dictionaries is true?

QusDictionaries के बारे में कौन-सा statement TRUE है?


A. Dictionary keys must be mutable
B. Dictionary values must be immutable
C. Dictionary reserves insertion order only in Python 2
D. Dictionary keys must be unique


Solution
D. Dictionary keys must be unique



Explanation
A dictionary cannot contain duplicate keys; a later value for the same key replaces the earlier one.

Dictionary में duplicate keys नहीं हो सकतीं; same key की नई value पुरानी value को replace करती है।
Latest Current Affairs 2026 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test , CCC MCQ Python Coding Tutorials Best Computer Training Institute in Prayagraj (Allahabad) O Level NIELIT Study material and Quiz Website development Company in Allahabad