On Sun, Mar 6, 2011 at 10:53 AM, Noah Hall <enali...@gmail.com> wrote:
> On Sun, Mar 6, 2011 at 2:45 PM, Victor Subervi <victorsube...@gmail.com> > wrote: > > Hi; > > How do I translate this PHP code? > > > > if($ok){ > > echo "returnValue=1"; > > }else{ > > echo "returnValue=0"; > > } > > From the code provided - > > if ok: > print 'returnValue=1' > else: > print 'returnValue=0' > Ah. I thought I had to "return" something! Thanks, Beno
-- http://mail.python.org/mailman/listinfo/python-list