Question #350

What is the output of the code snippet below?
def func1():
    return 10

def func2():
    return func1()

def func3():
    return func2() * 5


Here, fun3() is invoked first. The code will start from fun3() that will invoke fun2(). Finally, fun2() will invoke fun1() , multiply 10 by 5 and return 50 . (

Comment on Disqus:

Question difficulty: 🔵🔵🔵🔵🔵