Question: python Question 21 40 pts Write a program that summarizes student grade. You are given two lists, one list stores the student name and the
Question 21 40 pts Write a program that summarizes student grade. You are given two lists, one list stores the student name and the other list stores the student grade. You will calculate which student earning the highest grade and which student earning the lowest grade. You will also calculate the average grade among all students. You will display the results in a console output. Functions: get_student_averagelgrade_list) - function to calculate student average. Pass grade list and return average get_max_index(grade_list) - function to calculate the index that holds the highest grade. Pass grade list and returns max index get_min_index(grade_list) - function to calculate the index that holds the lowest grade. Pass grade list and returns min index main() - call all of the above functions. Global constant and two list declarations. Two lists are created and initialized inside of the main() function. STUDENT COUNT = 5 names = ('Student1; 'Student2', 'Student3', 'Student4' 'Students' grades - 190, 76, 80,65,83) Edit View Insert Format Tools Table
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
