Describe what this function does. Try different numbers as input. def test(num): if num > 0: return

Question:

Describe what this function does. Try different numbers as input.

def test(num): if num > 0: return test(num-1) + num else: return 0

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: