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:

[[95, 92, 86, 87], [66, 54], [89, 72, 100], [33, 0, 0]]

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.

"Get 15% discount on your first 3 orders with us"
Use the following coupon

Order Now