# The equivalent function 1

 1 2 3 4 def fun(a,b): if b==0: return 0 return (a+fun(a,b-1)) 

Which of the following is equivalent to the recursive function shown above?

Assumptions

• $b$ is a non-negative integer.
×