You are viewing a single comment's thread from:RE: Python 随机选取元素的一些方法以及概率问题View the full contextView the direct parentoflyhigh (85)in #cn • 7 years ago 这也是思路之一 不过random.shuffle改变元素的位置 我想当然的认为它的效率会低,所以没有去测试 以后有时间测测看