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
def get_Value(dic,value): for name in dic: if dic[name] == value: del dic[name] return name