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

Prof.Fazal Rehman Shamil (Available for Professional Discussions)
1. Message on Facebook page for discussions,
2. Video lectures on Youtube
3. Email is only for Advertisement/business enquiries.