elis aeris schrieb:
is it possible to return two values?

Yes:
>>> def return2():
   return "this", "that"

>>> return2()
('this', 'that')
>>> a,b=return2()
>>> a
'this'
>>> b
'that'
>>>
Regards,
Gregor

------------------------------------------------------------------------

_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to