On Wed, 01 Jul 2009 17:49:21 -0700, Paul Rubin wrote:

> Carl Banks <pavlovevide...@gmail.com> writes:
>> Instead, call random.shuffle() on the list, and iterate through that to
>> get the elements in random order.
> 
> It's better to use random.sample() than random.shuffle().

Why?


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

Reply via email to