Powered by Ajaxy
Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset

Python: How to return a lambda function

Python: How to return a lambda function
{filelink=16192}

def produit(x):
     return (lambda y: x * y)
calcul = produit(12) 
print calcul(8)#  96

Users who found this page were searching for:

  • perl line counting
  • get int absolute value perl
  • python string to number
  • python using temporary file
  • jtable filter javascript
  • java specify a filter on the type of file
  • filtering JTable
  • eventghhost python ppaass arguments to event
  • perl trim whitespace
  • python convert integer to time,

No comments yet.

Leave a Comment