On Thu, Oct 2, 2014 at 12:29 PM, Rustom Mody <rustompm...@gmail.com> wrote:
> So by now you know there are 2 kinds of return:
>
> So the morals in short:
>
> 1. Stick to the return that works -- python's return statement --
> and avoid the return that seems to work -- the print statement

Please. There are not two types of return; there are two completely
different things here. Don't pretend that print is a bad form of
return. It isn't.

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to