NIELIT O Level Exam

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?

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

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.
Latest Current Affairs 2025 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad