1.

What does random.shuffle(x) do when x = [1, 2, 3]?(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

Answer» Correct choice is (c) shuffle the elements of the list in-place

For explanation: The elements of the list passed to it are shuffled in-place.


Discussion

No Comment Found