1.

How many keyword arguments can be passed to a function in a single function call?(a) zero(b) one(c) zero or more(d) one or moreI have been asked this question in semester exam.Question is taken from Argument Parsing 1 topic in portion Argument Passing, Global vs Local Variables, Shallow copy vs Deep copy and Recursion of Python

Answer» CORRECT OPTION is (C) zero or more

Explanation: Zero KEYWORD ARGUMENTS may be passed if all the arguments have default values.


Discussion

No Comment Found

Related InterviewSolutions