Report Bug

QusWhich of the following functions helps us to randomize the items of a list? Qusनिम्नलिखित में से कौन सा फ़ंक्शन किसी लिस्ट के आइटम्स को रैनडोमाइज़ करने में हमारी हेल्प करता है?


A. seed
B. randomise
C. shuffle
D. uniform


Solution
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.
Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 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 Best Website and Software Company in Allahabad