fastest method to choose a random element

caca at mailinator.com caca at mailinator.com
Sat Jan 5 11:07:35 EST 2008


Hello, Paul and Arnaud.
While I think about your answers: do you think there is any way to
avoid shuffle?
It may take unnecessary long on a long list most of whose elements
have the property.



More information about the Python-list mailing list