You are viewing a single comment's thread. Return to all comments →
for _ in range(int(input())): g=int(input()) print(g if g < 38 or g % 5 < 3 else g+(5-(g % 5)))
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 →
Python 3 , 3-liner