Write different capabilities of dictionary.
Question :
Write different capabilities of dictionary.
A dictionary has the following capabilities:
(a) Ability to iterate over keys or values or key-value pairs.
(b) Ability to add key-value pairs dynamically.
(c) Ability to look for a value by key.