Shuffle list
Randomizes the order of the values of an list, returning a new list.
- Uses the Fisher-Yates algorithm to reorder the elements of the list.
random.shuffle
provides similar functionality to this snippet.
Randomizes the order of the values of an list, returning a new list.
random.shuffle
provides similar functionality to this snippet.