Write a Python Program to calculate the Factorial of entered value. code example
Example: factorial in python
def fact(n):
return 1 if (n==0 or n==1) else n*fact(n-1)
fact(3)
def fact(n):
return 1 if (n==0 or n==1) else n*fact(n-1)
fact(3)