Lambda Python Stream Functions Pyramid