Python Boolean Logic

Steve D'Aprano steve+python at pearwood.info
Sat Sep 23 07:28:24 EDT 2017


On Sat, 23 Sep 2017 03:01 pm, Bill wrote:

> if (20 - 10)  > 15 :
>      print("true")
> else:
>      print("false");

print(20 - 10  > 15)


will do the job.



-- 
Steve
“Cheer up,” they said, “things could be worse.” So I cheered up, and sure
enough, things got worse.




More information about the Python-list mailing list