McqMate
Q. |
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 |
D. | when duplicate keys encountered, the last assignment wins |
Answer» C. keys must be integers | |
Explanation: keys of a dictionary may be any data type that is immutable. |
View all MCQs in
Problem Solving and Python ProgrammingNo comments yet