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
| // Multi-Column Articles Script | |
| // Version 0.5.1 | |
| // Copyright (c) 2009, Raking Leaves | |
| // Released under the GPL license | |
| // http://www.gnu.org/copyleft/gpl.html | |
| // | |
| // Includes code from Hyphenator, distributed under GPL v3. | |
| // See http://code.google.com/p/hyphenator/ | |
| // | |
| // TODO |
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
| n = input("Enter an integer greater or equal to zero: ") | |
| def factorial(n): | |
| if n == 0: | |
| return 1 | |
| else: | |
| return (n * factorial(n - 1)) | |
| print factorial(n) |