I have this so far - but if I test with (-a, b), python gives me a recursion error. Please help, not sure why this isn't working. All other tests work here.
def mult(a, b):
""" mult returns the product of two inputs
inputs: n and m are integers
output: result of multiplying n and m
"""
if b < 0:
return -mult(a,-b)
elif b == 0:
return 0
elif b == 1:
return a
else:
return a + mult(a,b-1)
Thanks out there.