# coding: latin-1 moy = 0 for i in range(1,N+1): # de 1 à N+1 exclu --> de 1 à N inclus moy += n [i] moy /= N