Explore topic-wise MCQs in Python.

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

1.

Which of the following isn t true about dictionary keys?

A. tMore than one key isn t allowed
B. tKeys must be immutable
C. tKeys must be integers
D. tWhen duplicate keys encountered, the last assignment wins
Answer» D. tWhen duplicate keys encountered, the last assignment wins