def notes(*num, sit=False):  # Function to return a dictionary and check all the conditions
    """ 
    => Program that checks the quantify of school grades, highest, lowest, the class mean and the student's situation
    :param num: variable that receive the amount of notes
    :param sit: (optional) if wish know the student's situation set sit=True
    :return: return everything in a dictionary.
    """

    dictionary = dict()
    s = 0
    tot_sum = 0
    for c in num:   # Sum the total grades school
        s += 1
        tot_sum = tot_sum + c
    dictionary['Total'] = s
    dictionary['Lowest'] = min(num)
    dictionary['Highest'] = max(num)
    m = tot_sum / s
    dictionary['Mean'] = round(m, 2)
    if sit:  # check if the situation is True or False
        if m > 7:
            dictionary['Situation'] = 'Approved'
        else:
            dictionary['Situation'] = 'Reproved'
    return dictionary