python faculty of 0 is 1 faculty of 1 is 1

Solutions on MaxInterview for python faculty of 0 is 1 faculty of 1 is 1 by the best coders in the world

showing results for - "python faculty of 0 is 1 faculty of 1 is 1"
Beatrice
10 Feb 2018
1        fact = fact * num
Deirdre
24 Sep 2020
1  return 1 if n <=1 else n*factorial(n-1)