Computer Science
Dictionaries are …………. data types of Python.
- mutable
- immutable
- simple
- all of these
Python Dictionaries
2 Likes
Answer
mutable
Reason — Dictionaries are mutable data types of Python since its entries can be added, removed, and changed in place.
Answered By
1 Like
Related Questions
Dictionaries are …………… set of elements.
- sorted
- ordered
- unordered
- random
Dictionaries are also called ……………
- mappings
- hashes
- associative arrays
- all of these
Which of the following functions will return the key, value pairs of a dictionary ?
- keys( )
- values( )
- items( )
- all of these
Which of the following will add a key to the dictionary only if it does not already exist in the dictionary ?
- fromkeys( )
- update( )
- setdefault( )
- all of these