1.DictionariesDictionaries Are similar to other compound types except that they can useany immutable type as an index. As an example, we will create a dictionary to translate…