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
Recommended Posts:
- Python-Quizzes | Python Dictionary Quiz | Question 4
- Python-Quizzes | Python Dictionary Quiz | Question 23
- Python-Quizzes | Python Dictionary Quiz | Question 1
- Python-Quizzes | Python Dictionary Quiz | Question 2
- Python-Quizzes | Python Dictionary Quiz | Question 3
- Python-Quizzes | Python Dictionary Quiz | Question 5
- Python-Quizzes | Python Dictionary Quiz | Question 6
- Python-Quizzes | Python Dictionary Quiz | Question 7
- Python-Quizzes | Python Dictionary Quiz | Question 8
- Python-Quizzes | Python Dictionary Quiz | Question 9
- Python-Quizzes | Python Dictionary Quiz | Question 11
- Python-Quizzes | Python Dictionary Quiz | Question 12
- Python-Quizzes | Python Dictionary Quiz | Question 13
- Python-Quizzes | Python Dictionary Quiz | Question 14
- Python-Quizzes | Python Dictionary Quiz | Question 15
- Python-Quizzes | Python Dictionary Quiz | Question 16
- Python-Quizzes | Python Dictionary Quiz | Question 17
- Python-Quizzes | Python Dictionary Quiz | Question 18
- Python-Quizzes | Python Dictionary Quiz | Question 19
- Python-Quizzes | Python Dictionary Quiz | Question 20

