Dictionaries are useful to acess elemts using keys instead of keys,here keys are replaced by the index.
Accessing element using keys
we cant use index positions for dicitiories,
because they may vary, so we need to use keys for accessing the elemnts, If the specified key doesn’t exist,
KeyError the exception will be raised.
Adding and Modifying elements
we can add or modify existing element by using this syntax given below
Deleting Elements in dictionary
we can delete any element from the dictory by using del method ,If the key doesn’t exist in the dictionary,
KeyError exception is raised.