Three lines weighted random choice with Python
http://glowingpython.blogspot.com/2012/09/weighted-random-choice.html
This post shows how to implement weighted random choice in python in just three lines of code.
(
no comments
| 2 points
| on HN
)
There are no comments yet.