Explore topic-wise MCQs in Python.

This section includes 2 Mcqs, each offering curated multiple-choice questions to sharpen your Python knowledge and support exam preparation. Choose a topic below to get started.

1.

method del doesn’t exist for the dictionary$

A. del deletes the values in the dictionary
B. del deletes the entire dictionary
C. del deletes the keys in the dictionary
Answer» B. del deletes the entire dictionary
2.

Which of the statements about dictionary values if false?

A. More than one key can have the same value
B. The values of the dictionary can be accessed as dict[key].
C. Values of a dictionary must be unique
D. Values of a dictionary can be a mixture of letters and numbers
Answer» D. Values of a dictionary can be a mixture of letters and numbers