What will be the output of the following code:
def func_default(x=1, y=2, z=3):
print(x)
print(y)
print(z)
func_default(7,9)
1
2
3
7
2
9
7
9
3
None of the above
Answers
Answered by
1
☆def func_default(x =1;y =2;z=3);
print(x)
print(y)
print(z)
func_default(7,9)
●7
●9
●3
☆
☆☆As the print statement is for x,y and z....and through the func_default(7,9) statement 7 and 9 are assigned to x and y
Similar questions