How might one call a function which returns two variables?
For example:
def F1(x):
do something with x
return y, z
def F2(y, z, q):
do lots of other things
return profit
What syntax should be used to call F1 from F2 which makes in clear which output from F1 is y and which is z.
My intuition says
F2(F1(x), q)
Which is fine, but then how to call y and z within F2?
y,z = f1(x) p =f2(y,z,q)