random.choice returns the same value
Erik Max Francis
max at alcyone.com
Sat Sep 25 02:11:50 EDT 2004
Brian wrote:
> Any reason why random.choice would return the first value in a list
> everytime?
Because the list only has one element, or all the elements have the same
value?
--
__ Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/
/ \ San Jose, CA, USA && 37 20 N 121 53 W && AIM erikmaxfrancis
\__/ In Heaven all the interesting people are missing.
-- Friedrich Nietzsche
More information about the Python-list
mailing list