lambdamusic
2/7/2013 - 9:27 PM

Python: Python: using the Lambda operator

Python: Python: using the Lambda operator

>>>bigger = lambda a, b : a > b
>>>print bigger(1,2)
False
>>>print bigger(2,1)
True