What is the output of the following code? def outer(x, y): def inner1(): return x+y def inner2(): return x*y return (inner1, inner2) (f1, f2) = outer(10, 25) print(f1()) print(f2()) a. 35 250 b. 35 250 c. 250 35 d. 250 35
Questions & Answers › Category: Programming Language › What is the output of the following code? def outer(x, y): def inner1(): return x+y def inner2(): return x*y return (inner1, inner2) (f1, f2) = outer(10, 25) print(f1()) print(f2()) a. 35 250 b. 35 250 c. 250 35 d. 250 35