counter = 0

def gcd(a, b):
    global counter
counter += 1
return a if not b else gcd(b, a % b)
gcd(2 ** 9048, 2 ** 248212)
print(counter)
are python lambdas implemented differently from standard functions?