python function return convention

50 views Asked by At

what is the convention of python, for how many returns can a function have ? I want to split a big function into smaller ones.

For that reason I want to make one of the function like a setup function. That setup func will return all the parameters needed (around 10 parameters returned). Is there a convention for that, if so, is it okay with returning 10 parameters out of one function ?

0

There are 0 answers