Question: Write a function to apply a very simple curve to an input grade. The function will be called curve _ grade and will take two
Write a function to apply a very simple curve to an input grade. The function will be called curvegrade and will take two parameters as inputs, in the order specified here:
points : the number of points a student earned on an assignment int or float
curve : the proportion of curve to apply to the student's points int or float
Within the function, the code will return curvedpoints. This code will apply the proportion specified in curve to the student's points.
For example, if curve is and points is the code in the funtion would multiply points by curve and add that back to the original points, return ing the value
If points were and curve was the function would return
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
