def argmax(d):
    """
    Return key corresponding to maximum value in dictionary `d`.

    If several keys have the same maxum value, one of them will be returned.

    Parameters
    ----------
    d : dict
       values must be numeric
    
    Returns
    -------
    key in `d`
    """
    return max(d, key = lambda k : d[k])