0
Can someone please explain how does the second function work in this code
def add(x, y): return x + y def do_twice(func, x, y): return func(func(x, y), func(x, y)) a = 5 b = 10 print(do_twice(add, a, b))
2 Réponses
+ 2
Please use the search function
https://www.sololearn.com/Discuss/41733/?ref=app
https://www.sololearn.com/discuss/1316935/?ref=app
0
Thank you very much