1.

Lambda functions cannot be pickled because:(a) Lambda functions only deal with binary values, that is, 0 and 1(b) Lambda functions cannot be called directly(c) Lambda functions cannot be identified by the functions of the pickle module(d) All lambda functions have the same name, that is, I got this question in an online quiz.My query is from Pickle Module topic in portion Mapping Functions and Modules of Python

Answer» CORRECT CHOICE is (d) All lambda functions have the same name, that is,

The EXPLANATION: Lambda functions cannot be PICKLED because all the lambda functions have the same name, that is,


Discussion

No Comment Found

Related InterviewSolutions