+ 5
Why is that the value of x is 10
6 Answers
+ 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))"