-
-
Save esenthil2018/88fad10b8adb44a0a31e34ef40f7633b 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 factor(n): | |
| print('Factor{0}!'.format(n)) | |
| return 1 if n < 2 else n * factor(n-1) | |
| factor(5) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment