def adder(x, y, z):
    return x + y + z

def wrapper_g(y, z):

    def g(f, x, y=y, z=z):
        return f(x, y, z)
return g
g = wrapper_g(5, 10)
print(g(adder, 20))
print(g(adder, 40))
print(g(multiplier, 2))
print(g(multiplier, 2, y=3, z=4))
Passing a function and one of its arguments to another function in Python