from random import normalvariate def simule_loi_normale(n,mu,sigma): L=[] for k in range(n): L.append(normalvariate(mu, sigma)) return L