why func(n) at line 4 calls inner function n times, not only original function fact.
func(n)
inner
fact
def log(func): def inner(n):