Grading
This commit is contained in:
14
grading.py
Normal file
14
grading.py
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
a, b, c, d, e = map(int, input().split())
|
||||||
|
score = int(input())
|
||||||
|
if score >= a:
|
||||||
|
print("A")
|
||||||
|
elif score >= b:
|
||||||
|
print("B")
|
||||||
|
elif score >= c:
|
||||||
|
print("C")
|
||||||
|
elif score >= d:
|
||||||
|
print("D")
|
||||||
|
elif score >= e:
|
||||||
|
print("E")
|
||||||
|
else:
|
||||||
|
print("F")
|
||||||
Reference in New Issue
Block a user