Home / Programming MCQs / Python MCQs / Question

P

Parvesh Kanani • 2.84K Points
Extraordinary

Q. Which function do we use to shuffle a list(say list1)?

(A) shuffle(list1)
(B) list1.shuffle()
(C) random.shuffleList(list1)
(D) random.shuffle(list1)

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.