NIELIT O Level Exam

Which of the following functions does not necessarily accept only iterables as arguments?

Which of the following functions does not necessarily accept only iterables as arguments?

निम्नलिखित में से कौन सा फंक्शन केवल नेससेरली को आर्ग्यमन्ट के रूप में एक्सेप्ट नहीं करता है?

A. enumerate() इनूमरेट()

B. all() ऑल()

C. chr()

D. max() मैक्स()




Correct Answer is :

C. chr()



Explanation
The functions enumerate(), all() and max() accept iterables as arguments whereas the function chr() throws an error on receiving an iterable as an argument. Also note that the function chr() accepts only integer values.
CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad