alpha = 0.025 k = 0 S = 0 while S<1-alpha: S += loi_binomiale(100,0.5)[k] k += 1 print([0,k])