How Translate This PHP

Noah Hall enalicho at gmail.com
Sun Mar 6 11:00:49 EST 2011


On Sun, Mar 6, 2011 at 3:11 PM, Victor Subervi <victorsubervi at gmail.com> wrote:
> Ah. I thought I had to "return" something!

Well, based on what you asked, you would've, but based on the code,
all it was doing is printing "returnValue - value"

Of course, a better way of doing it would be to use formatting -

For example,

print 'returnValue=%d' % ok



More information about the Python-list mailing list