+ 1

def apply_twice(func, arg): return func(func(arg)) def add_five(x): return x + 5 print(apply_twice(add_five, 10))

plase explain me this code

18th Jun 2019, 12:55 PM
Ranjeet singh jitty
Ranjeet singh jitty - avatar
2 odpowiedzi
+ 1
thanks
20th Jun 2019, 3:22 AM
Ranjeet singh jitty
Ranjeet singh jitty - avatar