May-07-2019, 10:41 AM
Define the get_funny_average() function which is passed a list of numbers as a parameter and returns the average of some of the numbers in the parameter list. The function returns the average of the remaining numbers (rounded to 1 decimal place) after all the following have been excluded from the parameter list of numbers (if they exist in the list):
all zeroes,
all negative numbers,
and
the two smallest positive numbers
Could someone explain to me how would I go about this without giving the code as I need to abide by the rules
all zeroes,
all negative numbers,
and
the two smallest positive numbers
Could someone explain to me how would I go about this without giving the code as I need to abide by the rules