Answers for "defult factorial function in python"

2

Find faculty of a number python

#Assumes n is possitive
def factorial(n):
  return 1 if n <=1 else n*factorial(n-1)
Posted by: Guest on November-05-2020

Code answers related to "defult factorial function in python"

Python Answers by Framework

Browse Popular Code Answers by Language