Check out example codes for "python arbitrary arguments *args mcqs". It will help you in understanding the concepts better.

Code Example 1

def outerFun(a, b):
    def innerFun(c, d):
        return c + d
    return innerFun(a, b)
    return a

result = outerFun(5, 10)
print(result)

Learn ReactJs, React Native from akashmittal.com