Question: Implement function avg() that takes as input a list that contains lists of numbers. Each number list represents the grades a particular student received for
Implement function avg() that takes as input a list that contains lists of numbers. Each number list represents the grades a particular student received for a course. For example, here is an input list for a class of four students: (195, 92, 86, 871, (66, 54], [89, 72, 100], [33, 0, 01 The function avg should print, one per line, every student's average grade. You may assume that every list of grades is nonempty, but you may not assume that every student has the same number of grades. >>s avg(t(95, 92, 86, 87], (66, 541, [89, 72, 100), (33, 0, 0]1) 90.0 60.0 87.0 11.0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
