a,b,c = 5,2,3 def f(a): def g(b): def h(c): return a*b*c return h return g print(g) f(a)I'm trying to created nested functions such that the function f includes a print function and when we execute f(a), it prints 30. but this doesn't happen here. Help please!
I know that if i put the print outside the f function and run it as print(f(a)(b)©), it gives the result as 30 too