Factorial of a Number in Python

By: Prof. Dr. Fazal Rehman | Last updated: February 3, 2024

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

Leave a Comment

All Copyrights Reserved 2025 Reserved by T4Tutorials