helperFunctions.merge_generators module

helperFunctions.merge_generators.shuffled(sequence)

Copies and shuffles an array.

Parameters:

sequence (Sequence[T]) – The array to be shuffled

Returns:

A shuffled copy of sequence

Return type:

list[T]