python combining two logics of map(),"map(partial(f, x), y) == map(f, [x] * len(y), y)"