Created
July 11, 2016 15:39
-
-
Save adrianmoses/51bc4fa0d47f4c29dbb3f7b540f8ed31 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
factorial = lambda n: reduce(lambda x, y: x * y, range(1, n+1)) | |
(6 * 7 * 24 * 60 * 60) == factorial(10) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment