I made a function which will look up ages in a Dictionary and show the matching name:
Dictionary
dictionary = {\'george\' : 16, \'amber\' : 19} search_age
we can get the Key of dict by :
Key
dict
def getKey(dct,value): return [key for key in dct if (dct[key] == value)]