def get_dict_key(dictionnary, value):
    """ Returns the first key associated to value in dictionnary """
    for key, val in dictionnary.items():
        if val == value:
            return key
    return None