Python Program to Find the Factorial of a NumberWhat is factorial? Factorial is a non-negative integer. It is the product of all positive integers less than or equal to that number for which you ask for factorial. It is denoted by exclamation sign (!). For example: The factorial value of 4 is 24. Note: The factorial value of 0 is 1 always. (Rule violation) See this example: The following example displays the factorial of 5 and -5. Output: ![]()
Next TopicPython Display the multiplication Table
|