McqMate
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. |
View all MCQs in
Problem Solving and Python ProgrammingNo comments yet