Answers for "python Write a program to compute factorial to an integer that entered by user"

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 "python Write a program to compute factorial to an integer that entered by user"

Python Answers by Framework

Browse Popular Code Answers by Language