So i am trying to use a function that returns values, but i want these values to be returned into a different function. An example of something that i need is below.
def returner():
x=1
y=2
z=3
return x,y,z
def tester(arg1,arg2,arg3):
print arg1,arg2,arg3
tester(returner())
What i would like it to do is print 1,2,3 however i have not been able to do it with this because it says "tester takes exactly 3 arguments, 1 given." Is there something i am missing or is this impossible?