Menu

Next Two Functions Assume Parameter Supergrades List Lists Following Structure Types Supe Q43866881

using python
For the next two functions assume the parameter super_grades is a list of lists with the following structure and types ... suFunction name: calc final grades Parameters: super_grades (list) Return Type: dict Description: This function should return aFor the next two functions assume the parameter super_grades is a list of lists with the following structure and types … super_grades = [ [ ‘Student’, ‘Exam 1’, ‘Exam 2’, ‘Exam 3’, ‘HW Avg’i, [ ‘Eric’, ‘100’, 90′, ’80’, 90′), [ ‘Josh’, ’88’, ’99’, ‘111’, 92′), [ ‘Manny’, ’45’, 156′, 67′, 54′). [ ‘Colleen’, ’59’, ’61’, 67′, *72′), [ Bohong’, “73′, “79′, “83′, 85′). [ ‘Marylyn’, 189′, ’97’, ‘101’, ’80’), [ ‘Xinran’, *40′, ’50’, ‘100’, 87′] Function name: calc final grades Parameters: super_grades (list) Return Type: dict Description: This function should return a dictionary that maps the students name to their final letter grade. The final grade is calculated by taking 0.25 * ( <Exam 1 + <Exam 2> + <Exam 3> + <HW Avg> ). When determining the letter grade, use the same grade cut offs defined in the syllabus. Test Case: >>> calc_final_grades (super_grades) ‘Eric’: ‘A’, “Josh’: ‘A’, ‘Manny’: ‘F’, Colleen’: ‘D’, ‘Bohong’: ‘B’, Marylyn’: ‘A’, “Xinran’: ‘D’ Show transcribed image text For the next two functions assume the parameter super_grades is a list of lists with the following structure and types … super_grades = [ [ ‘Student’, ‘Exam 1’, ‘Exam 2’, ‘Exam 3’, ‘HW Avg’i, [ ‘Eric’, ‘100’, 90′, ’80’, 90′), [ ‘Josh’, ’88’, ’99’, ‘111’, 92′), [ ‘Manny’, ’45’, 156′, 67′, 54′). [ ‘Colleen’, ’59’, ’61’, 67′, *72′), [ Bohong’, “73′, “79′, “83′, 85′). [ ‘Marylyn’, 189′, ’97’, ‘101’, ’80’), [ ‘Xinran’, *40′, ’50’, ‘100’, 87′]
Function name: calc final grades Parameters: super_grades (list) Return Type: dict Description: This function should return a dictionary that maps the students name to their final letter grade. The final grade is calculated by taking 0.25 * ( >> calc_final_grades (super_grades) ‘Eric’: ‘A’, “Josh’: ‘A’, ‘Manny’: ‘F’, Colleen’: ‘D’, ‘Bohong’: ‘B’, Marylyn’: ‘A’, “Xinran’: ‘D’

Expert Answer


Answer to For the next two functions assume the parameter super_grades is a list of lists with the following structure and types ….

OR