Python Programming - Standard Libraries - Discussion

Discussion Forum : Standard Libraries - General Questions (Q.No. 42)
42.
What does the random.shuffle() function do?
Sorts a list in random order
Picks a random element from a sequence
Generates a random integer
Returns a random floating-point number
Answer: Option
Explanation:
The random.shuffle() function in Python shuffles the elements of a list in a random order.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.