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

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

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!