def average_percentile(values):
    """
    Get the average, min percentile (5%) and
    max percentile (95%) of a list of values.

    :param values: list of value to compute
    :type values: list
    :return: tuple containing average, min and max value
    :rtype: tuple
    """
    if not values:
        return None, None, None

    value_avg = round(float(sum(values)) / len(values), 2)
    value_max = round(percentile(values, 95), 2)
    value_min = round(percentile(values, 5), 2)
    return value_avg, value_min, value_max
def average_percentile ( values ) : if not values : return None , None , None value_avg = round ( float ( sum ( values ) ) / len ( values ) , 2 ) value_max = round ( percentile ( values , 95 ) , 2 ) value_min = round ( percentile ( values , 5 ) , 2 ) return value_avg , value_min , value_max
Get the average, min percentile (5%) and
    max percentile (95%) of a list of values.

    :param values: list of value to compute
    :type values: list
    :return: tuple containing average, min and max value
    :rtype: tuple