0
I dont get why this outputs 16
What is the output of this code? def test(func, arg): return func(func(arg)) def mult(x): return x * x print(test(mult, 2)) The output of this code is 16. I do not get why. I would think it would be 4 because you would do 2 times 2.
1 Resposta
0
Thank you a lot