def f(m):
if m == 1:
return(1)
else:
return(m+f(m-1))
Which of the following is correct?

Posted on by