Author vstinner
Recipients belopolsky, mark.dickinson, orsenthil, pitrou, rhettinger, terry.reedy, vstinner
Date 2010-06-24.07:46:57
SpamBayes Score 0.235551
Marked as misclassified No
Message-id <1277365619.87.0.20974344517.issue9025@psf.upfronthosting.co.za>
In-reply-to
Content
Distribution with my algorithm:

...
from collections import Counter
print Counter(_randint(6755399441055744) % 3 for _ in xrange(100000000))

=> Counter({0L: 33342985, 2L: 33335781, 1L: 33321234})

Distribution: {0: 0.33342985000000003, 2: 0.33335780999999998, 1: 0.33321234}
History
Date User Action Args
2010-06-24 07:47:00vstinnersetrecipients: + vstinner, rhettinger, terry.reedy, mark.dickinson, belopolsky, orsenthil, pitrou
2010-06-24 07:46:59vstinnersetmessageid: <1277365619.87.0.20974344517.issue9025@psf.upfronthosting.co.za>
2010-06-24 07:46:57vstinnerlinkissue9025 messages
2010-06-24 07:46:57vstinnercreate