Consider a following function f:
def mys(m):
if m==1:
return(1)
else:
return(m+mys(m-1))
#The function terminates for positive n with mys(n) = factorial of n def mys(m): if m==1: return(1) else: return(m+mys(m-1))
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment