http://eli.thegreenplace.net/2010/01/22/weighted-random-generation-in-python/ 类似俄罗斯轮盘赌 转载于:https://www.cnblogs.com/zhizouxiao/p/3835136.html