Granding Students1 [HackerRank] 10. Granding Students # 방법1 # # Complete the 'gradingStudents' function below. # # The function is expected to return an INTEGER_ARRAY. # The function accepts INTEGER_ARRAY grades as parameter. # def gradingStudents(grades): result = [] for grade in grades: if grade = 3: result.append(5 * (grade // 5 + 1)) else: result.append(grade) return result if __name__ == '__main__.. 2020. 3. 9. 이전 1 다음