Answers for "wap to print factorial of a number 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 "wap to print factorial of a number in python"

Python Answers by Framework

Browse Popular Code Answers by Language