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

QuestionsCategory: Python 3What 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())
admin Staff asked 3 years ago

Answer: 35
250