Question 10:Find the output of the following program:
Which of these about a dictionary is false?
(A) The values of a dictionary can be accessed using keys
(B) The keys of a dictionary can be accessed using values
(C) Dictionaries may or may not be ordered
(D) None of the above
Answer: (B)
Explanation: The values of a dictionary can be accessed using keys but the keys of a dictionary can’t be accessed using values.
Quiz of this Question
Article Tags :
Recommended Articles