Page 1 of 1

I need assistance with the following Python exercise:

Posted: Mon Jun 06, 2022 2:17 pm
by answerhappygod
I need assistance with the following Python exercise:
I Need Assistance With The Following Python Exercise 1
I Need Assistance With The Following Python Exercise 1 (98.62 KiB) Viewed 22 times
At a certain university students receive letter grades based on the following scale: Integer Score Letter Grade 93 or above A 84-92 B 74-83 с 65-73 D Below 65 F Write a function calculateGrade that will assign the correct string to grade for the given integer score. Examples Input: 93 Output: A Input: 92 Output: B Input: 1 Output: F Note: 100 >= num > 0 13 # 14 15 16 17 18 19 20 21 22 23 24 25 26 ✓ 27 calculateGrade (grade) 28 29 30 # The function accepts INTEGER grade as parameter. def calculateGrade (grade): #grade = int(input("Enter your Grade Percentage (ie. 0 100): ") if name == '__main__': grade = int(input().strip())