Probability selection algorithm

Paul Rubin phr-n2003b at NOSPAMnightsong.com
Sun Feb 2 22:49:20 EST 2003


Dennis Lee Bieber <wlfraed at ix.netcom.com> writes:
>         A test script seems to show some bias WRT your original multiple 
> random() formulation and the single random() formulation. Strangely it 
> seems to bias for the middle value (of three in the initial test).

Yes, the first one was incorrect.  Try the second one.




More information about the Python-list mailing list