0
Problem in function.
Can you explain this code with another easy example? I dont uderstand it. https://code.sololearn.com/cyWQLJwenH4O/?ref=app
2 Answers
+ 3
in do_twice you pass the add function, so what happens is this:
add(add(5, 10), add(5, 10))
which is
add(15, 15)
0
If you are using return you have to use if statement before return.