human
Here's a good function header given the following:
I wrote the below code

    def fun(x):
        return func(x)
    rvs = dist.rvs(size=size)
    return fun(rvs).mean(0)

What's a good function header?
assistant
#Here's a good function header.

def expect_mc(dist, func=(lambda x: 1), size=50000):