accumulateur = 0 for ns in L: if 0.36-2*s <= ns <= 0.36+2*s: accumulateur = accumulateur + 1 print(accumulateur/200)