1.

Explain the dictionary in Python.

Answer»

1.  Python’s built-in data type is dictionary, which defines one-to-one relationships between keys and values.

2.  Dictionary is indexed by keys.

3.  Dictionary is similar to association array or hash table of other languages.

4.  Dictionary consist of pairs’-of keys and their corresponding values.



Discussion

No Comment Found