I tells me line 1 and line 5 (new to debugging/programming, not sure if that helps)
def hi():
print 'hi'
def loop(f, n):
if n<=0:
return
else:
f()
loop(f, n-1)
loop(hi(), 5)
hi
TypeError: 'NoneType' object is not callable
Why does it give me that error?