From 09861a2f4f2d377326ebbb5d6996640ea052650c Mon Sep 17 00:00:00 2001 From: Jethro Stapelbroek Date: Mon, 3 Jul 2023 20:20:25 +0200 Subject: [PATCH] Grading --- grading.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 grading.py diff --git a/grading.py b/grading.py new file mode 100644 index 0000000..cec7b2d --- /dev/null +++ b/grading.py @@ -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")