So, I know that tuple comparisons work lexicographically:
Tuples and lists are compared lexicographically, using a comparison of the corresponding elements. This means that to compare equality, each element must be compared with equal, and two sequences must be of the same type and have the same length.
If not the same, the sequences are ordered in the same way as their first different elements. For example, cmp ([1,2, x], [1,2, y]) returns the same as cmp (x, y). If the corresponding element does not exist, the shorter sequence is ordered first (for example, [1,2] <[1,2,3]).
So from this:
>>> a = (100, 0)
>>> b = (50, 50)
>>> a > b
True
2 , - ( ):
>>> a > b
(True, False)
>>> all(a > b)
False
- , , - "" (0,0), , , ord > (0,0), x 0, y , , , .
/:
, . - , , ( ), , - , . ?