>>> from sampling import positives >>> round(positives(-20, 10, 0.1, 2), 2) 15.3 >>> round(positives(-20, 10, 0.1, 15), 2) 9.76