Created
June 9, 2014 09:34
-
-
Save antvconst/02f47b9d11619af808a8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def plus(a, b): | |
return a+b | |
def func(a, b, c): | |
return lambda : a(b, c) | |
fn = func(plus, 1, 2) | |
print fn | |
print fn() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment