Question: Python- Void and Fruitful Write a void python function to compute and print a letter grade based on a percentage grade. The function has only
Write a void python function to compute and print a letter grade based on a percentage grade. The function has only one parameter, ng, a numeric grade between 0 and 100. The assignment of the letter grade should be based on the table in the syllabus of this course. 3 Tests Test your function with the following values: O 72 91 100 5 Problem 2: Remove the print statement from your function and make it fruitful. Test your code here using the values given above 6 The final grade will be based on the total percentage cared according to the following table. Percentage 95-100 90-94 86-89 83-85 80-82 76.79 73.75 70-72 65-69 60-64 Letter Grade A A- B+ B B- C D D 2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
