?
What will be the output of the following Python code?
What will be the output of the following Python code?
def test(i,j):
if(i==0):
return j
else:
return test(i-1,i+j)
print(test(4,7))
def test(i,j):
if(i==0):
return j
else:
return test(i-1,i+j)
print(test(4,7))
Join the Discussion
Login to post a comment or share your explanation.
Login