Is there such a beast as a "perfect" shuffle? :)

Tim Peters tim.one at comcast.net
Fri May 10 14:34:44 EDT 2002


[Christos Georgiou]
> ...
> Apart from that, which is just a naive approach, any hints / clues for
> building good, uniform random numbers in the range 52! ?

This is difficult.  Here's one way:

http://www.faqts.com/knowledge_base/view.phtml/aid/4406/fid/546





More information about the Python-list mailing list