Brilliant mystery function

What is the return value of mystery(4)?

# python code start
def mystery(n):
    answer = 0
    while n > 0:
        answer = answer + 1
        n = n - 1
    answer = answer - 2
    return answer
×

Problem Loading...

Note Loading...

Set Loading...