Question
Function name is get_grade_results It takes two float arguments: score and total_points It calls point_grade (a function youve written for this assignment) using the two
Function name is get_grade_results It takes two float arguments: score and total_points It calls point_grade (a function youve written for this assignment) using the two float arguments: score and total_points it saves the value returned to a variable to be used in the next steps Using the calculated point grade value returned by your point_grade function call (previous step), it calls the function letter_grade to retrieve the letter grade value associated with the calculated point grade and it saves it to a variable Using the letter grade retrieved from the previous steps, it calls your pass_or_fail function to retrieve a Pass or a Fail and saves it to a variable At this point you should have three variables: a point grade (0 to 100 value), a letter grade (A, B, C, D, or E), and a string that says either Pass or Fail concatenate these three values into one string to be returned by the function It returns a string similar to: Your grade is 92.34 (A - Pass) or Your grade is 35.78 (E - Fail)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started