翻看 random.shuffle 的源码,发现正是洗牌算法。 def shuffle(self, x, random=None): if random is None: randbelow = self.
確定! 回上一頁