Dual conditions in D and Python
Manfred Nowak via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Thu May 21 11:33:04 PDT 2015
Dennis Ritchie wrote:
> if (4 <= 5 <= 6):
> print ("OK")
> -----
I would rather write:
if( isSorted![4,5,6])
-manfred
More information about the Digitalmars-d-learn
mailing list