S = 0 for k in range(N): (x,y) = (random(),random()) if hypot(x,y)<1: S += 1 point_rouge(x,y) else: point_bleu(x,y)