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, 03.07.2019 14:10
Amass of m 1.5 kg of steam is contained in a closed rigid container. initially the pressure and temperature of the steam are: p 1.5 mpa and t 240°c (superheated state), respectively. then the temperature drops to t2= 100°c as the result of heat transfer to the surroundings. determine: a) quality of the steam at the end of the process, b) heat transfer with the surroundings. for: p1.5 mpa and t 240°c: enthalpy of superheated vapour is 2900 kj/kg, specific volume of superheated vapour is 0. 1483 m/kg, while for t 100°c: enthalpy of saturated liquid water is 419kj/kg, specific volume of saturated liquid water is 0.001043m/kg, enthalpy of saturated vapour is 2676 kj/kg, specific volume of saturated vapour is 1.672 m/kg and pressure is 0.1 mpa.
Answers: 3
question
Engineering, 04.07.2019 18:10
The higher the astm grain-size number, the coarser the grain is. a)-true b)-false
Answers: 3
question
Engineering, 04.07.2019 18:10
Which from the following instrument is commonly used to detect the high pitch butzing sound in bearings? [clo4] a)-digital ultrasonic meter b)-infrared camera c)-spectroscopic d)-vibrometer
Answers: 2
question
Engineering, 04.07.2019 18:20
Athin walled concentric tube exchanger is used to cool engine oil from 160°c to 60°c with water that is available at 25°c acting as a coolant. the oil and water flow rates are each at 2 kg/s, and the diameter of the inner tube is 0.5 m and the corresponding value of the overall heat transfer coefficient is 250 w/m2. oc. how long must the heat exchanger be to accomplish the desired cooling? cpwater=4.187 kj/kg-candcpengine el=2.035 kj/kg·°c, oil . 120]
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.06.2021 22:20
question
Mathematics, 08.06.2021 22:20
question
Mathematics, 08.06.2021 22:20
question
Mathematics, 08.06.2021 22:20
question
Mathematics, 08.06.2021 22:20
question
Mathematics, 08.06.2021 22:20
question
Chemistry, 08.06.2021 22:20
Questions on the website: 13722363