What is the dictionary?



What is the dictionary?..

Answer / Jayram Kumar

A dictionary in Python is a collection of key-value pairs. It can be thought of as an associative array or hash table, where each value is associated with a unique key. In Python, the keys must be immutable objects like strings and numbers.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Python Interview Questions

What is meant by instantiating a class?

1 Answers  


Is python slower than java?

1 Answers  


What is thread join in python?

1 Answers  


What is the difference between Xrange and range?

1 Answers  


How memcached should not be used in your python project?

1 Answers  


How do you exit a python script?

1 Answers  


Tell me what is flask & its benefits?

1 Answers  


Whenever you exit python, is all memory de-allocated?

1 Answers  


Why is numpy so fast?

1 Answers  


Explain what is the common way for the flask script to work?

1 Answers  


Is python faster than python2?

1 Answers  


Why should we close files?

1 Answers  


Categories