davethegr8 davethegr8 - 1 year ago 97
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 Source
import random
random.shuffle(array)