The easiest way to show this is an example:
def hat(a, b):
return a+b
def cat(c, d):
return c % 2, d % 2
If I type cat(4,5) I properly get (0,1). However if I try hat(cat(4,5)) instead of getting 1, I get an error saying hat needs more values. In my real function I am dealing with a lot more than 2 arguments, so what is the proper way to fix this