On Aug 24, 12:38 am, tooru honda <[EMAIL PROTECTED]> wrote:
> 1. Does shuffle() produce uniform result ?

If you're worried about this microscopic bias (on the order of
2**-53), then shuffle more than once.  That will distribute the bias
more evenly:

  def super_shuffle(sequence):
      for i in range(10):
           shuffle(sequence)


Raymond Hettinger




-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to