Factorial of a Number in Python

Write a Program in Python to find the Factorial of a Number

Output

Please Enter a Number: 4
The factorial of 4 is 24

Factorial of a NumberĀ  using Recursion in Python

Output

Enter the number:7
Factorial of 7 is 5040