Which two statements correctly describe the Python dictionary data type?
A Python dict is a mutable mapping of unique keys to associated values, so its contents are key/value pairs and entries may be removed. It is not a sequence and does not use positional indexes; values are retrieved by their keys. Although current Python dictionaries preserve insertion order, they remain mappings rather than sequence types.
dict
Community Discussion