davethegr8 davethegr8 - 6 months ago 47
Python Question

Shuffle an array with python, randomize array item order with python

What's the easiest way to shuffle an array with python?

Answer
import random
random.shuffle(array)