What Will Be The Output Of The Following Python Function #869
What will be the output of the following Python function, assuming that the random library has already been included?</p> <pre><code class="language-python">random.shuffle[1,2,24]</code></pre>
This multiple choice question (MCQ) is related to the book/course gs gs109 Python. It can also be found in gs gs109 Python Modules - Python Random Module - Quiz No.2.
What will be the output of the following Python function, assuming that the random library has already been included?
random.shuffle[1,2,24]
Randomized list containing the same numbers in any order
The same list, that is [1,2,24]
A list containing any random numbers between 1 and 24
Error