def simule(n): L=[0,0,0] for i in range(n): sortie=loi_discrete() if sortie==-10: L[0]+=1 elif sortie==3: L[1]+=1 else: L[2]+=1 return L