Question: Q9 - Curve Grade (1 point) Write a function to apply a very simple curve to an input grade. The function will be calied curve_grade

 Q9 - Curve Grade (1 point) Write a function to apply

Q9 - Curve Grade (1 point) Write a function to apply a very simple curve to an input grade. The function will be calied curve_grade and will take two parameters as inputs, ir 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 curved_grade. This code will apps the proportion specified in curve to the student's points. For example, it curve is 0.1 and points is 100, the code in the funtion would multiply 100 points ) by 0.1 (curve ) and add that back to the original points, returning the value 110. If points were 90 and curve was 0.05, the function would return 94.5 (71): # YOUR CODE HERE

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!