Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Find faculty of a number python

#Assumes n is possitive
def factorial(n):
  return 1 if n <=1 else n*factorial(n-1)
 
PREVIOUS NEXT
Tagged: #Find #faculty #number #python
ADD COMMENT
Topic
Name
4+8 =