Examveda

What will be the output of the following Python code?
def f(x):
    print("outer")
    def f1(a):
        print("inner")
        print(a,x)
f(3)
f1(1)

A. outer
error

B. inner
error

C. outer
inner

D. error

Answer: Option A


This Question Belongs to Python Program >> Functions In Python

Join The Discussion

Related Questions on Functions in Python