subject
Engineering, 18.10.2019 18:20 keegandudley

Implement a function avg() that takes as input a list that contains lists of numbers representing grades each student received in a course. the function avg() should print, one per line, every student’s average grade. you may assume that every list is nonempty, but you cannot assume that every student has the same number of grades. use the format function to print the output as follows:

> > > avg([[95, 93, 100, 89], [50, 75], [33, 0, 103], [88, 99]])

student 1 has an average of: 94.25

student 2 has an average of: 62.5

student 3 has an average of: 45.6

student 4 has an average of: 93.5

ansver
Answers: 3

Another question on Engineering

question
Engineering, 04.07.2019 16:10
The force on a cutting tool are 2600n vertically downward and 2100 horizontal. determine the resultant force acting on the tool and the angle at which it acts.
Answers: 1
question
Engineering, 04.07.2019 18:10
The higher the astm grain size number, the finer the gran is. a)-true b)-false
Answers: 2
question
Engineering, 04.07.2019 19:10
The air in an automobile tire with a volume of 0.015 m3 is at 32°c and 140 kpa gage. determine the amount of air that must be added to raise the pressure to the recommended value of 206 kpa gage. assume the atmospheric pressure to be 128 kpa and the temperature and the volume to remain constant.[r-0.287 kj/kgk]
Answers: 3
question
Engineering, 04.07.2019 19:20
Determine the time of the day and month of the year at which the peak sensible cooling load occurs for a top floor, north-eastern corner room of an office building in durban for the following conditions: floor area: 8 x 8 x 3 m east and north walls: 115 mm face brick (outside), 20 mm air space, 115 mm ordinary brick (inside) with 15 mm plaster roof construction: suspended plasterboard ceiling, 450 mm air space, 150 mm concrete, 75mm screed, waterproofing no heat transfer across other surfaces window area 3x 1,5 m high in north wall only. ordinary glass with venetian blinds. lights and occupants : from 07: 00 to 18: 00 average light density: 25 w/m2 number of occupants : 5 seated, light office work room temperature 24°c
Answers: 3
You know the right answer?
Implement a function avg() that takes as input a list that contains lists of numbers representing gr...
Questions
question
Advanced Placement (AP), 15.01.2021 07:40
question
Mathematics, 15.01.2021 07:40
question
Mathematics, 15.01.2021 07:40
question
Mathematics, 15.01.2021 07:40
question
Mathematics, 15.01.2021 07:40
question
Mathematics, 15.01.2021 07:40
question
Mathematics, 15.01.2021 07:40
question
Mathematics, 15.01.2021 07:40
Questions on the website: 13722363