Page 1 of 1

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

Posted: Wed Jul 13, 2022 7:44 pm
by answerhappygod
a) list1.shuffle()
b) shuffle(list1)
c) random.shuffle(list1)
d) random.shuffleList(list1)