Answers for "mean math"

1

what is a median

Median of a triange is a line that goes from a vertex of the triangle
to the midpoint of the opposite side of that vertex.
Posted by: Guest on October-14-2020
-2

mean

#the plan is to have a boring mean
def mean(arr): # mean
  return sum(arr)/len(arr)
Posted by: Guest on October-12-2020
-1

mean

#the plan is to remove all values that are zero

def mean(arr): # mod_mean
  arr = list(filter(lambda n:n!=0,arr))
  return sum(arr)/len(arr)
Posted by: Guest on October-12-2020

Browse Popular Code Answers by Language