Ask a New Question
Search
Questions and answers by
js did the test
Answers (1)
the answer is def factorial(n): if n == 0: return 1 else: if n % 2 == 0 return n * factorial(n - 2) else: return factorial(n - 1) print("The answer is", factorial(7))