Explain about the dictionary function in python?



Explain about the dictionary function in python?..

Answer / Arpit Mishra

In Python, a dictionary is a collection of key-value pairs where keys are unique and immutable. It can be thought of as a container that stores data values under named labels called keys. Dictionaries provide a highly efficient method for storing, accessing, and retrieving data by key.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Python Interview Questions

How to create an empty class in python?

1 Answers  


Difference between __str__ and __repr__ in python?

1 Answers  


Which method removes leading and trailing blanks in a string?

1 Answers  


How do you handle exceptions with try/except/finally in python?

1 Answers  


Will class members accessible by instances of class?

1 Answers  


How to determine the type of instance and inheritance in python?

1 Answers  


What is a data structure in python?

1 Answers  


Can we use else with for loop in python?

1 Answers  


Describe python usage in web programming?

1 Answers  


Give an example of shuffle() method?

1 Answers  


What are attributes in python?

1 Answers  


What is the language from which Python has got its features or derived its features?

1 Answers  


Categories