I would like to know time complexity for the following function:
def foo3(k): r = 0 if not k % 9: r -= 1 else: while (k % 3 and k