def netids_above_cutoff(grades,cutoff):
    """
    Returns the list of netids with grades above or equal
    to cutoff

    Parameter grades: The dictionary of student grades
    Precondition: grades has netids as keys, ints as values.

    Parameter cutoff: The grade cutoff (for, say, a
    passing grade)
    Precondition: cutoff is an int
    """
    result = []                 # Accumulator

    for k in grades:
        if grades[k] >= cutoff:
            result.append(k)    # Add k to the list result

    return result