What will be the output of the following code snippet?


def solve(a, b):
return b if a == 0 else solve(b % a, a)
print(solve(20, 50))

Posted on by