0 votes
in Python by
Which function do we use to shuffle a list(say list1)?

select the correct answer from below options

1) shuffle(list1)

2) list1.shuffle()

3) random.shuffleList(list1)

4) random.shuffle(list1)

1 Answer

0 votes
by

4) random.shuffle(list1)

...