Page 1 of 1

What does random.shuffle(x) do when x = [1, 2, 3]?

Posted: Wed Jul 13, 2022 7:45 pm
by answerhappygod
a) error
b) do nothing, it is a placeholder for a function that is yet to be implemented
c) shuffle the elements of the list in-place
d) none of the mentioned