function expression with 2 arguments

Reinhold Birkenfeld reinhold-birkenfeld-nospam at wolke7.net
Sat Feb 26 08:23:31 EST 2005


Xah Lee wrote:
> is there a way to write a expression of a function with more than 1
> argument?
> 
> e.g., i want a expression that's equivalent to
> 
> def f(x,y)
>   return x+y

Looking for lambda?

Reinhold



More information about the Python-list mailing list