subject
Engineering, 20.09.2021 07:20 davia97

1. Create an empty list named grades. a) Add the following grades: 92, 51, 83, 37, 72
b) Compute the average of these grades.
Use the len method in your calculation.
c) Print the average with a precision of two decimal places.
d) Compute the location of the median grade using the len method.
e) Print the median grade using index syntax.
(this simply means that you are to reference the element using
index notation as we used in our many examples)
f) Remove all failing grades (lower then 60) from the list.
g) Print the updated list of grades.
h) Print the updated average.
Average = the sum of all elements divided by the number of elements
Median = the middle element in a list of elements

ansver
Answers: 3

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Apump is used to circulate hot water in a home heating system. water enters the well-insulated pump operating at steady state at a rate of 0.42 gal/min. the inlet pressure and temperature are 14.7 lbf/in.2, and 180°f, respectively; at the exit the pressure is 60 lbf/in.2 the pump requires 1/15 hp of power input. water can be modeled as an incompressible substance with constant density of 60.58 lb/ft3 and constant specific heat of 1 btu/lb or. neglecting kinetic and potential energy effects, determine the temperature change, in °r, as the water flows through the pump.
Answers: 1
question
Engineering, 06.07.2019 03:10
Two slings are used to lift a girder of length l and uniform weight per unit length. what is the best position for the slings if the bending moment due to the weight of the girder is to be kept to a minimum?
Answers: 2
question
Engineering, 06.07.2019 03:20
An air-conditioning system consists of a heating section and an evaporative cooler. air enters the heating section at 10°c and 70 percent relative humidity at a rate of 30m^3/min, and it leaves the evaporative cooler at 20°c and 60 percent relatively humidity. if the air conditioning system operates at a total pressure of 98 kpa, determine (a) the temperature and relative humidity of the air when it leaves the heating section, (b) the rate of heat transfer in the heating section, and (c) the rate of water added to air in the evaporative cooler
Answers: 2
question
Engineering, 06.07.2019 04:30
At steady state, air enters an insulated duct of varying cross-sectional area (similar to a nozzle or diffuser) at 200 kpa, 52°c with a mass flow rate of 0.5 kg/s. at the duct exit, the pressure of the air is 100 kpa, the velocity is 255 m/s, and the cross-sectional area is 2 x 10-3 m^2. assuming an ideal gas model, determine: a)-find the specific volume of the air at the exit, in m3/kg. b)- the temperature of the air at the exit, in k. c)-the velocity of the air at the inlet, in m/s. d)-the inlet cross-sectional area, in m^2.
Answers: 1
You know the right answer?
1. Create an empty list named grades. a) Add the following grades: 92, 51, 83, 37, 72
b) Com...
Questions
question
Mathematics, 08.01.2021 22:10
question
Mathematics, 08.01.2021 22:10
question
Mathematics, 08.01.2021 22:10
question
Spanish, 08.01.2021 22:10
question
Mathematics, 08.01.2021 22:10
question
Arts, 08.01.2021 22:10
question
English, 08.01.2021 22:10
question
Mathematics, 08.01.2021 22:10
Questions on the website: 13722367