Question: Please use python to write code for the following 1. Rewrite the program to create a function that prints out messages based on percentage. The

Please use python to write code for the following

1. Rewrite the program to create a function that prints out messages based on percentage. The function takes in one percent and no return values.

2. If the user enters incorrect input, your program should stop and provide an explanation. You can decide whether integer or float data type is appropriate.

3. We have a list of students. They are Jackie, Lizzie, and Emma. Go through the list, for each student, enter information, calculate percentage, and display the letter grade based on their percentage. Input : Jackie, 134, 100, 40. should produce 54.800000000000004% which is a failing grade

INPUT: Lizzie, 190, 190, 96. should produce 95.19999999999999% which is an A ,

INPUT: Emma 180, 160, 80. Should be produced to 84.0 % which is a B.

4. Ultimately we will show a summary, how many students, average percentage, and highest percentage among the students entered.

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!