Recursive factorial calculation
1 def recursive_factorial(n):
2 if n == 0:
3 return 1
4 return n * recursive_factorial(n - 1)
1 def recursive_factorial(n):
2 if n == 0:
3 return 1
4 return n * recursive_factorial(n - 1)