Question: Language : python For this problem, you will need to create two functions and a program. Read the description of the function and then fill

Language : python  Language : python For this problem, you will need to create
two functions and a program. Read the description of the function and
then fill out the function table. After you have done that for

For this problem, you will need to create two functions and a program. Read the description of the function and then fill out the function table. After you have done that for both functions, the next After that, read the program requirements and 2. is to write Python code to create each function. write the Python code to create the program. Then run your program. Once you are sure it is correct, take screen shots of your function code, program code, and output. Function1 Description: The function is named "percentCorrect". It receives one parameter from the program that invokes it: a maximum score for the test (maxScore). The function then asks the user to input the student's score on the test. It checks to see if the score is between 0 and the maxScore, inclusive. If not, the function prompts the user until it gets a valid score. It then calculates percentCorrect- score/maxScore. It will then invoke the function assignGrade and pass it the value of percentCorrect. When it receives a letter grade back from the function, it will return that value to the program. b. Fill in the function table for percentCorrect Required input Expected result parameter(s) ose either none or one. if there is one percentCorrect Function2 Description: This function is named "assignGrade". It will assign a letter grade based on the percentCorrect parameter it receives and will return the grade to the function that called it. c. percentCorrect less than 70, letterGrade "F: between 70 and 88, letterGrade "G greater than 88, letterGrade :"E". The assignGrade function returns the letterGrade to the percentCorrect function, which then returns the letterGrade to the program

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!