mercredi 31 mai 2017

Python, if clause in regards to continuous '!=' [on hold]

>>> a=2
>>> b=3
>>> c=4
>>> a<b<c
True
>>> a=2
>>> b=3
>>> c=2
>>> a<b<c
False
>>> a=2
>>> b=3
>>> c=2
>>> a!=b!=c
True

The '<' we could find it can adjust a and b, b and c,what is more, a and c,because if a

Aucun commentaire:

Enregistrer un commentaire