davethegr8 davethegr8 - 8 months ago 57
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)