Quizlearn
.app
In the following recursive function, which condition represents the base case? def factorial(n): if n == 0: return 1 else: return n * factorial(n-1)
n > 0
n == 1
n == 0
n < 0
Programming Principles Exercises are loading ...