What is the output of the following code ? def outer(x, y): def inner1(): return x+y def inner2(z): return inner1() + z return inner2 f = outer(10, 25) print(f(15))

QuestionsCategory: Python 3What is the output of the following code ? def outer(x, y): def inner1(): return x+y def inner2(z): return inner1() + z return inner2 f = outer(10, 25) print(f(15))
admin Staff asked 3 years ago

Answer: 50