Question: Create an Arrary/List, **Grades.. that takes the grade points (0-100) of all X semesters where in each semester, there are y courses each enrolled by

Create an Arrary/List, **Grades.. that takes the grade points (0-100) of all X semesters where in each semester, there are y courses each enrolled by z number of students. To do so, take X, Y, Z, and the Grades as user input. Once the data is in, do the following 1. Compute and print the class average (sub_avg) grade points for each course (Z students) 2. Compute and print the semester average (sem avg grade for each semester 3. Compute and print the overall average (ov_avg) for X semesters 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 def GradeComputer(G): ov_tot- for sem in G: sem_tot- for sub in sem: sub_tot- for std in sub: sub_tot+=Std sub_avg=sub_tot/len(sub) print("this is subject avg:", sub_avg) sem_tot+=sub_tot sem_avg=sem_tot/(ien(sem)*lensub)) print(sem_avg) ov_tot-asem_tot ov_avg-ov_tot/(len(G)*len(sem)*len(sub)) print(ov_avg) 18 Grades-[[[90,97], [80,88], [90,91]], [[85,90],[91,92],[93,94]]] + you need to get this valus as seriousing input() function 19 GradeComputer (Grades
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
