Last active
March 13, 2019 21:06
-
-
Save fabiommendes/e446bc5056df35da373ff0432ec97b35 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
rec = lambda f: lambda x: f(f, x) | |
fat = rec(lambda f, x: 1 if x <= 1 else x * f(f, x - 1)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment