1.

Which of the following functions can accept more than one positional argument?(a) pickle.dumps(b) pickle.loads(c) pickle.dump(d) pickle.loadThe question was asked in final exam.My enquiry is from Pickle Module in portion Mapping Functions and Modules of Python

Answer» RIGHT answer is (a) pickle.dumps

Best explanation: The functions pickle.loads, pickle.dump and pickle.load ACCEPT only ONE argument. The FUNCTION pickle.dumps can accept more than one argument.


Discussion

No Comment Found

Related InterviewSolutions