Last active
May 21, 2017 23:32
-
-
Save oxbits/9ae45c8c170c84e8d2a95732ea3bdd42 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
from inspect import currentframe as cf | |
from types import FunctionType as FT | |
( | |
lambda x: 1 if x <= 1 else FT( | |
*( | |
lambda y: ( | |
y.f_code, y.f_globals | |
) | |
)(cf()) | |
)(x-1)*x | |
)(5) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment