Q.

To shuffle the list(say list1) what function do we use?

A. list1.shuffle()
B. shuffle(list1)
C. random.shuffle(list1)
D. random.shufflelist(list1)
Answer» C. random.shuffle(list1)
Explanation: execute in the shell to verify.
2.4k
0
Do you find this helpful?
12

Discussion

No comments yet