Grading Students

  • + 0 comments
    def roundG(x):
    return x if (x<38 or (x%5)<3) else x + 5 - (x%5)
    
    def gradingStudents(grades):
        return [roundG(x) for x in grades]