Created
April 7, 2018 18:13
-
-
Save LastTalon/00d80baa0a54e569179b8e8f9f3b713e to your computer and use it in GitHub Desktop.
This file contains 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 A(x): | |
def B(): | |
return x | |
return B | |
def C(y): | |
f = A(y) | |
print f() | |
C(2) # -> 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment