How Translate This PHP

Noah Hall enalicho at gmail.com
Sun Mar 6 09:53:20 EST 2011


On Sun, Mar 6, 2011 at 2:45 PM, Victor Subervi <victorsubervi at 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'



More information about the Python-list mailing list