Factorial

From Esolang
Jump to: navigation, search

The factorial of a number is itself and all positive numbers less than it multiplied together. It is commonly used as a code example for esoteric languages.


Example:

5! = 5 * 4 * 3 * 2 * 1 = 120