Examveda

What will be the output of the following Python code?
x=12
def f1(a,b=x):
    print(a,b)
x=15
f1(4)

A. Error

B. 12 4

C. 4 12

D. 4 15

Answer: Option C


This Question Belongs to Python Program >> Functions In Python

Join The Discussion

Related Questions on Functions in Python