NIELIT O Level Exam

Which type of elements are accepted by random.shuffle()?

Which type of elements are accepted by random.shuffle()?

किस प्रकार के एलिमेंट्स को random.shuffle () द्वारा एक्सेप्ट किया जाता है?

A. strings स्ट्रिंग्स

B. lists लिस्ट्स

C. tuples

D. integers इन्टिजर




Correct Answer is :

B. lists



Explanation
Strings and tuples are immutable and an integer has no len().
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