18th Mar 2018, 2:44 PM
Hethal
Hethal - avatar
6 ответов
+ 7
Function happens twice first function call 0 +5 = 5 second function call 5 +5 = 10
18th Mar 2018, 2:54 PM
Manual
Manual - avatar
+ 4
@Hethal You're welcome!
18th Mar 2018, 3:10 PM
Manual
Manual - avatar
+ 3
@Manual thanks
18th Mar 2018, 3:09 PM
Hethal
Hethal - avatar
+ 2
can you guys recommend any youtube videos which can explain the mathematical side of it
19th Mar 2018, 9:46 AM
Hethal
Hethal - avatar
+ 1
Because that’s the argument you’re giving it?
18th Mar 2018, 2:53 PM
Ariela
Ariela - avatar
+ 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))"
18th Mar 2018, 10:42 PM
Вадим Сухотин (Vadim Sukhotin)
Вадим Сухотин (Vadim Sukhotin) - avatar