Computer Science, asked by pankajkumar7812, 10 months ago

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 beingSaRcAsTiC
1
\huge{\fbox{\fbox{\bigstar{\mathfrak{\blue{Answer::}}}}}}

☆def func_default(x =1;y =2;z=3);

print(x)

print(y)

print(z)

func_default(7,9)

OUTPUT=

●7

●9

●3

OptionA

☆☆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

Hope It Helps...!!!

\small{\mathfrak{\pink{@being_SaRcAsTiC}}}
Similar questions