2 ms·With Knuth-Shuffle, it would be: for i in reversed(range(1, len(x))): That makes it better, but not much.by chkas 4y agoWith Knuth-Shuffle, it would be: for i in reversed(range(1, len(x))): That makes it better, but not much.