NIELIT O Level Exam

Which of the function take takes two arguments?

Which of the function take takes two arguments?

कौन सा फंक्शन को दो आर्गूमेंट की जरूरत पड़ेगी

A. dump()

B. load()

C. Both A and B

D. None of the above




Correct Answer is :

A. dump()



Explanation

The dump() function is used to serialize a Python object and write it to a file. It takes two arguments: the object you want to serialize and a file-like object (typically opened in binary mode) where the serialized data will be written.


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