def compute_average(grades):
    """
    Computes the average of all the grades in the list

    Parameters: grades (list)
    Returns: the average (float) rounded up to one decimal
    """
    average = round(sum(grades)/len(grades), 1)
    return average