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
a = {'a':1,'b':2,'c':3} {v:k for k, v in a.items()}[1]
or better
{k:v for k, v in a.items() if v == 1}