0
What's the problem in running this code???
2 Réponses
+ 2
you pass 3 parameters instead of 2 in
the func function which is in the do_thrice
+ 1
line 5
return func(func(x, y), func(x, y), func(x, y))
the first call of func has 3 arguments, but you called 'do_thrice' with the add function which has only two parameters: that's the problem.
you can solve it by returning
func(func(x, y), func(x, y))
which will also call func thrice.