function composition python

40

def compose2(f, g):
    return lambda x: f(g(x))

Comments

Submit
0 Comments