Question: Filename: assign 3 - 6 . py Write a code to get 4 numbers, calculate the average using the calcavg function, and print the result.

Filename:
assign3-6.py
Write a code to get 4 numbers, calculate the average using the calcavg function, and print the result. Before calling your function, ensure that all inputs are entered as numbers. In addition, make sure that the correct number of arguments are provided (there should be 4 inputs).
calcavg function should take the 4 numbers as parameters, drop the lowest one, calculate the average of the remaining three numbers, and return it
Input:
Output:
a)44.33
b)46.67
c) The wrong number of sales provided.
d) All inputs should be numeric.
 Filename: assign3-6.py Write a code to get 4 numbers, calculate the

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!