return inner_fun + 5
return addition_of_five(inner_fun) * 3
output: (10, 20)
Why it is showing 20 for second function call? I think it should be 30 .
when I run the code, I get an output of (10, 30), so there seems to be an issue somewhere else in the code. I’d suggest you restart your kernel and run only this line, to see if that changes the result.