[Tutor] Returning multiple objects from a function

Alexander Q. redacted@example.com
Tue Jul 3 00:55:26 CEST 2012


Hello- I'm wondering how to access specific objects returned from a
function when that function returns multiple objects.

For example, if I have "return(list1, list2, list 3)" within a function
"mainFunc()" that takes no arguments, how do I use list1, list2, and list3
outside of the function once they are returned by that function? Thank you.

-Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20120702/bf482168/attachment.html>


More information about the Tutor mailing list
l>