def schema(n,k): L=[] for i in range(k): L.append(0) for i in range(n): sortie=uniforme_discrete(k) for j in range(k): if sortie==j+1: L[j]+=1 return L