> I should have known. sheesh python is so kewl. I keep forgetting most 
> times,
> it will do stuff directly and you don't have to assign..

Whether thats 'kewl' depends on your viewpoint.
>From a pure computing point of view returning a value is more consistent
and correct in a functional programming sense, however its usually much
less efficient since temporary variables and copying are slow and
resource hungry, so direct action is preferred.

Alan G.

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to