def factorial(n): if n == 0 or n == 1: # 0! = 1! = 1 return 1 else: return (n * factorial(n-1))
Name (required)
email (will not be published) (required)
Website