return multiple values from fuction

Lupe luis_ at iname.com
Thu Nov 6 14:58:55 EST 2003


hi, if someone can help me I would be grateful

when I do

def function
        kjklj
        llklç
        
        return variableA, variableB

how can I assign the two return values to two distinct variables, as for ex.

varC = variableA
varD = variableB

??






More information about the Python-list mailing list