You are here : python_3randomrandomshuffle

random.shuffle() - random

Shuffle the sequence x in place. The optional argument random is a
0-argument function returning a random float in [0.0, 1.0); by default, this is
the function random().


Syntax

random.shuffle(x[, random])


Example


Output / Return Value


Limitations


Alternatives / See Also


Reference