def normalized_value(xs):
    """ normalizes a list of numbers

    :param xs: a list of numbers
    :return: a normalized list
    """
    minval = min(xs)
    maxval = max(xs)
    minmax = (maxval-minval) * 1.0
    return [(x - minval) / minmax for x in xs]