Skip to content

Commit 4b0a45c

Browse files
Create grading_students.py
Python solution for the same.!
1 parent f938c82 commit 4b0a45c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

grading_students.py

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/python3
2+
grades = [int(input()) for p in range(int(input()))]
3+
[print(g+5 - g%5 if g%5 > 2 and g>37 else g) for g in grades]
4+
5+

0 commit comments

Comments
 (0)