modify the grade avg function that we created in class to compute a grade according the following distribution 1

everything here in the picture

https://prnt.sc/rm7rj2

Requirements for this program are as follows: 1. the revised function should have four arguments and should return the numeric grade