number generator

Paul Rubin http
Sat Mar 10 17:29:09 CET 2007


Steven D'Aprano <steve at REMOVE.THIS.cybersource.com.au> writes:
> Doesn't mean that it isn't random. After all, the first four numbers are
> random, therefore their sum is random. 50 - (something random) is also
> random.

What does it mean for the first 4 numbers to be random?  For example,
is 27 random?

By your method, what is the probability of the first number being
higher than 30?  What is the probability of the fifth number being
higher than 30?  If these probabilities are unequal, can we really say
the sequences are random?



More information about the Python-list mailing list