Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
compose(partial(and_, 1), inv) solution in Creative category for Is Even by flpo
from functools import partial
from operator import inv, and_
compose = lambda g, f: lambda x: g(f(x))
is_even = compose(partial(and_, 1), inv)
April 29, 2020
Comments: