Lambda function

Albert Hopkins marduk at letterboxes.org
Wed Feb 25 09:42:32 EST 2009


On Wed, 2009-02-25 at 17:56 +0530, aditya saurabh wrote:
> I defined two functions - lets say
> fa = lambda x: 2*x
> fb = lambda x: 3*x
> Now I would like to use fa*fb in terms of x
> is there a way?
> Thanks in advance

I'm not sure what "use fa*fb in terms of x" means.

But if you mean fa(x) * fb(x) then it's just:

    fa(x) * fb(x)

-a




More information about the Python-list mailing list