Q. What will be the output of the following Python code?
Code:def function1(var1,var2=5):
var1=2
var3=var1*var2
return var3
var1=3
print(function1(var1,var2))
β
Correct Answer: (C)
Error as var2 is not defined while calling the function