Question: Python3 Eunction name: calculate_gpa Parameters: list of lists representing class grades and credits (nested list) Returns: calculated GPA (float) Description: Write a function that takes

Python3 Python3 Eunction name: calculate_gpa Parameters: list of lists representing class grades and

Eunction name: calculate_gpa Parameters: list of lists representing class grades and credits (nested list) Returns: calculated GPA (float) Description: Write a function that takes in a list of lists that each represent your final grade in a class, and that class' associated number of credits. Calculate your GPA based on the grades and weights using the following information. Assume that the number of credits taken will always be greater than zero. Round your final answer to two decimal places. Quality Points: 4:90 and above : 80-89 2:70-79 :60-69 0: 59 and below GPA formula: (classa quality_points class_ a_credits+class_b_quality pointsclass_b_credits class_c quality_points class_c_credits+...class_n_quality_points class_n_credits) / total credits Example: Class 1: 90, 3 credits >4 quality points Class 2: 80, 4 credits >3 quality points Class 3:89, 3 credits >3 quality points Class 4: 93, 2 credits>4 quality points Class 5:70, 3 credits >2 quality points Total Credits 15 credits

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!