Dec 14, 2019 in Python
Q: what is python dictionary

1 Answer

0 votes
Dec 14, 2019

Dictionary is used to implement the key-value pair in python. The dictionary is the data type in python which can simulate the real-life data arrangement where some specific value exists for some particular key.

In other words, we can say that a dictionary is the collection of key-value pairs where the value can be any python object whereas the keys are the immutable python object, i.e., Numbers, string or tuple.

Dictionary simulates Java hash-map in python.

Click here to read more about Python
Click here to read more about Insurance

Related questions

0 votes
Jan 10 in Python
...