Consider a dict like
mydict = {
\'Apple\': {\'American\':\'16\', \'Mexican\':10, \'Chinese\':5},
\'Grapes\':{\'Arabian\':\'25\',\'Indian\':\'20\'} }
Simple Example to understand how to access elements in the dictionary:-
d = {'dog' : 'bark', 'cat' : 'meow' }
print(d.get('cat'))
print(d.get('lion'))
print(d.get('lion', 'Not in the dictionary'))
print(d.get('lion', 'NA'))
print(d.get('dog', 'NA'))
Explore more about Python Dictionaries and learn interactively here...