Hello list,

How trustworthy is the "randomness" generated by the random module? I
just wrote a script (with the help of some tutors here!) that finds the
largest streak in a series of coin flips.

My collected data:

100 coin flips = 6-7 streak (usually)
1000 coin flips = 10-12 streak (usually)
10000 coin flips = 15-19 streak (usually)
etc etc.

I'm curious, how much can I trust the randomness? I can't really do
100000 coin flips in real life to compare...
-- 
Alec Henriksen <[EMAIL PROTECTED]> @ http://alecwh.com

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to