0 votes
in Python by

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())

i) 

35

250   

ii) 250 35

iii) 

250

35

iv) 35 250

1 Answer

0 votes
by
i)

35

250

Related questions

0 votes
asked Dec 14, 2019 in Python by sharadyadav1986
0 votes
asked Jan 19, 2021 in Python by SakshiSharma
...