1.

How are required arguments specified in the function heading?(a) identifier followed by an equal to sign and the default value(b) identifier followed by the default value within backticks (“)(c) identifier followed by the default value within square brackets ([])(d) identifierThis question was posed to me in an interview for job.The query is from Argument Parsing 2 in portion Argument Passing, Global vs Local Variables, Shallow copy vs Deep copy and Recursion of Python

Answer» CORRECT ANSWER is (d) identifier

Explanation: REFER DOCUMENTATION.


Discussion

No Comment Found

Related InterviewSolutions