Use a list comprehension:

hit = [k for k,v in dict.items() if v==lookingfor]
Feedback

Powered by Vanilla PHP feedback form