Write a Python function that demonstrates the sampling distribution of the mean. The function should take as input the number of samples, the sample size, and the distribution type ('uniform' or 'exponential'). It should return the mean of the sample means.
np.random.uniform(0, 1, sample_size)np.random.exponential(1, sample_size)num_samples independent samples, each of size sample_size