回答此问题可获得 20 贡献值,回答如果被采纳可获得 50 分。
<p>我想从随机.py:为什么最后一行看起来如此?在</p>
<pre><code>def shuffle(self, x, random=None, int=int):
randbelow = self._randbelow
for i in reversed(range(1, len(x))):
# pick an element in x[:i+1] with which to exchange x[i]
j = randbelow(i+1) if random is None else int(random() * (i+1))
x[i], x[j] = x[j], x[i]
</code></pre>
<p>为什么不单身:</p>
^{pr2}$