0 votes
in Technology by (321k points)

What are Python's dictionaries?

1 Answer

0 votes
by (321k points)
Python's dictionaries are kind of hash table type. They work like associative arrays or hashes found in Perl and consist of key-value pairs. A dictionary key can be almost any Python type, but are usually numbers or strings. Values, on the other hand, can be any arbitrary Python object.