Computer Science, asked by shikhakhursija79, 7 months ago

5. In the following function, what is
the base case?
def rec(n):
if n==1:
return 1
else:
returnn+rec(n-1)​

Answers

Answered by raj1990600
0
N==1 is the base case
Similar questions