+ 5
Why is that the value of x is 10
6 Réponses
+ 7
Function happens twice
first function call 0 +5 = 5
second function call 5 +5 = 10
+ 4
@Hethal
You're welcome!
+ 3
@Manual thanks
+ 2
can you guys recommend any youtube videos which can explain the mathematical side of it
+ 1
Because that’s the argument you’re giving it?
+ 1
x is parameter of "add_five".
Function "apply_twice" call "add_five" with argument "arg". "arg" get value 10 because "print(apply_twice(add_five, 10))"