Let's say that there was functionA:
def functionA():
return 'foo','bar'
and there was functionB:
def functionB(first,second):
print(first)
print(second)
and I wanted to use the output of function A as an argument for function B, like this:
functionB(functionA())
But that doesn't work because python thinks that functionB expects 2 arguments and function A is only one argument, and it gives me an error. How do I solve this? Thank you in advance.