write a program to create a module of factorial in python code example
Example: Find faculty of a number python
#Assumes n is possitive
def factorial(n):
return 1 if n <=1 else n*factorial(n-1)
#Assumes n is possitive
def factorial(n):
return 1 if n <=1 else n*factorial(n-1)