This blog is available for sale. Please 'contact us' if interested.
Advertise with us
Python Multiple Choice Questions
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
Explanation: Keys of a dictionary may be any data type that is immutable.
© 2022-2023 Python Circle