Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
Which function do we use to shuffle a list(say list1)?
Home
Python
Which function do we use to shuffle a list(say list1)?
0
votes
asked
Aug 22, 2022
in
Python
by
Robindeniel
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)
python
list
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Aug 22, 2022
by
Robindeniel
4) random.shuffle(list1)
...