Testing random
alister
alister.nospam.ware at ntlworld.com
Fri Jun 12 17:46:22 EDT 2015
On Fri, 12 Jun 2015 23:32:31 +0200, Thomas 'PointedEars' Lahn wrote:
> Ian Kelly wrote:
>
>> The probability of 123456789 and 111111111 are equal. The probability
>> of a sequence containing all nine numbers and a sequence containing
>> only 1s are *not* equal.
>
> There is a contradiction in that statement. Can you find it?
i am afraid ther is not
there is only one probibility that will give 111111111 there are a huge
number of combinations that contain all 9 digits
123456789 & 987654321 to name but 2
there are vastly more combinations that contain all 9 digits (9!) even
though the chances of any one sequence is still the same as 111111111
--
When in a hole, stop diging
More information about the Python-list
mailing list