def moyenne(L:list) -> float: S = 0 N = 0 for elt in L: S += elt N += 1 return S/N