I need assistance with the following Python exercise:

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

I need assistance with the following Python exercise:

Post 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 20 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())
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply