PYTHON CIRCLE
Practice
Python Books
Archive
Subscribe
Login
Menu
Login
Practice
Python Books
Archive
Subscribe
Support
Please support this website.
Visit the Amazon using this affiliate link
. There won't be any difference in your purchage, we will get some commission for every purchase you make.
Advertise with us
Python Multiple Choice Questions
What does random.shuffle(x) do when x = [1, 2, 3]?
A. error
B. do nothing, it is a placeholder for a function that is yet to be implemented
C. shuffle the elements of the list in-place
D. none of the mentioned
Show Answer
Next Question
Correct Answer:
C
Explanation: The elements of the list passed to it are shuffled in-place.
© 2022-2023 Python Circle
Contact
Sponsor
Archive
Sitemap