+ 3
What is the sequence of operator while deriving the result of (x<y<z) if x=2, y=9 & z=10
4 Réponses
+ 6
Python's comparison chains are evaluated left to right, as follows:
(x<y<z) equals (x<y and y<z)
+ 1
Ok there is and gate. Thank you
0
2<9<9
0
True