751b5327a92f ^
1 2 3 4 5 6 7
import random def shuffle(xs): n = len(xs) for i in range(n): j = random.randint(i, n - 1) xs[i], xs[j] = xs[j], xs[i]