MCQ Answer

Which of the following functions helps us to randomize the items of a list?

Which of the following functions helps us to randomize the items of a list?

निम्नलिखित में से कौन सा फ़ंक्शन किसी लिस्ट के आइटम्स को रैनडोमाइज़ करने में हमारी हेल्प करता है?
Topic : Modules in Python

A. seed सीड

B. randomise रैनडोमाइज़

C. shuffle शफल

D. uniform यूनिफार्म




Correct Answer is :

C. shuffle



Explanation
The function shuffle, which is included in the random module, helps us to randomize the items of a list. This function takes the list as a parameter.
CCC Online Test 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Sarkari Exam Quiz