• + 0 comments

    Python 3 Kindly ignore the return indentation. I don't know why, it is not getting deleted

    def gradingStudents(grades):
     
        for i in range(len(grades)):
            if grades[i] < 38:
                continue
            next_round = ((grades[i]//5)+1)*5
            if (next_round - grades[i]) <3:
                grades[i] = next_round
    						
    		return grades