Consider this recursive function:

def mystery(x) :
if x <= 0 :
return 0
else :
return x + mystery(x - 1)

What is mystery(5)?
A. 15
B. 10
C. 0
D. 4

Respuesta :

Otras preguntas