You are viewing a single comment's thread. Return to all comments →
Here is Python 3 solution from my HackerrankPractice repository:
for _ in range(int(input())): grade = int(input()) if grade >= 38 and grade % 5 >= 3: grade = (grade + 5) // 5 * 5 print(grade)
Feel free to ask if you have any questions :)
Seems like cookies are disabled on this browser, please enable them to open this website
Grading Students
You are viewing a single comment's thread. Return to all comments →
Here is Python 3 solution from my HackerrankPractice repository:
Feel free to ask if you have any questions :)