Report Bug

QusWhich of the function take takes two arguments? Qusकौन सा फंक्शन को दो आर्गूमेंट की जरूरत पड़ेगी


A. dump()
B. load()
C. Both A and B
D. None of the above


Solution
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.


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