What will be the output of the following code:-
def func_keyword(x=1, y=2, z=3):
sum = x+y
min = sum - z
print (min)
func_keyword(y=8,x=4)
Answers
Answered by
1
OUTPUT:-
9
Explanation:
when func_keyword(y=8,x=4) is called then value of y is assigned to x and value of x is assigned to y.
sum = 8 + 4 = 12
min = 12 - 3 = 9
so , output is 9
Similar questions