Please conduct a Python program for the following: In this coding…

Question Answered step-by-step Please conduct a Python program for the following: In this coding… Please conduct a Python program for the following: In this coding challenge, you will be calculating grades. You will create a function named grade_calculator() that takes in a grade as its input parameter and returns the respective letter grade. Letter grades will be calculated using the grade as follows:If the grade is greater than or equal to 90 and less than or equal to 100, that is 100 >= grade >= 90, then your function should return a letter grade of A.If the grade is between 80 (inclusive) and 90 (exclusive), that is 90 > grade >= 80, then your function should return a letter grade of B.If the grade is between 70 (inclusive) and 80 (exclusive), that is 80 > grade >= 70, then your function should return a letter grade of CIf the grade is between 60 (inclusive) and 70 (exclusive), that is 70 > grade >= 60, then your function should return a letter grade of D.If the grade is below 60, that is grade < 60, then your function should return a letter grade of F.If the grade is less than 0 or greater than 100, the function should return the string "Invalid Number"Here is the problem description:Function Name: grade_calculatorParameter: grade - A floating point number that represents the number grade.Return: The equivalent letter grade of the student using the rubrics given above. If the grades are greater than 100 or less than zero, your program should return the string "Invalid Number".Description: Given the numeric grade, compute the letter grade of a student.After completing this function, write at least seven (7) test cases to check if your program is working as expected. The test cases you write should test whether your functions works correctly for the following types of input:grade < 0grade > 100100 >= grade >= 9090 > grade >= 8080 > grade >= 7070 > grade >= 60grade < 60The test cases you write should be different than the ones provided in the description above (i.e., examples 1 - 7). You should write your test cases in the format shown below.# Sample test case: # input: 100 >= grade >= 90 # expected return: “A” print(grade_calculator(100))Image transcription textEXAMPLE 1 grade: 95.43 return: A EXAMPLE 2 grade: 61.27 return: D EXAMPLE 3 grade: —76 return: InvalidNumber EXAMPLE 4 grade: 80 return: B EXAMPLE 5 grade: 110 return: Invalid Number EXAMPLE 6 grade:79.9 return: C EXAMPLE 7 grade: 45.57 return: F … Show more  Computer Science Engineering & Technology Python Programming CSE 8a Share QuestionEmailCopy link Comments (0)