text_plain_output_1.png
import matplotlib.pyplot as plt

import numpy as np
np.random.seed(0)
import matplotlib.pyplot as plt
import scipy.stats as st

population = np.random.normal(size=10000000, loc=173, scale=10)

population_mean = np.round(np.mean(population), 2)

sample = np.random.choice(population, size=10)
print('\nThe sample mean is', np.round(np.mean(sample), 2), '\n\nWe collected the data from the sample and we know this value.')