[issue18844] allow weights in random.choice

Madison May report at bugs.python.org
Mon Sep 2 05:00:51 CEST 2013


Madison May added the comment:

Just ran across a great blog post on the topic of weighted random generation from Eli Bendersky for anyone interested:
http://eli.thegreenplace.net/2010/01/22/weighted-random-generation-in-python/

----------
nosy: +eli.bendersky

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18844>
_______________________________________


More information about the Python-bugs-list mailing list