>>11444837If the task is to use a lambda expression to find the mean, I wouldn't interpret the task of writing down a function, with a name, that's implemented with via a lambda.
Besides, of course, in Python lambdas are entirely discouraged. You can instantiate functions in every corner, even within other functions. Even in corner cases like
map(lambda n: n**2, range(10))
Python people are likely to encourage writing
def _squared(n):
return n**2
map(_squared, range(10))