Vidyalelo
Python · Q187

Module in Python

Programming · Python · question 187

Q187

What will be the output of the following Python function, assuming that the random library has already been included? random.shuffle[1,2,24]

A.
Randomized list containing the same numbers in any order
B.
The same list, that is [1,2,24]
C.
A list containing any random numbers between 1 and 24
D.
Error
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board