def returning ():
    a = 1
    b = 2
    return a, b

ab = returning()


does this work?

if it does, is ab a tuple of 2 and [0] being a and [1] being b?
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to