24 ms·
> Is it an odd-but-valid C comparison? (a is less than b and b is greater than c) That's not the C comparison, that's a Python chained comparison. A C comparis
by masklinn 11y ago
> Is it an odd-but-valid C comparison? (a is less than b and b is greater than c)
That's not the C comparison, that's a Python chained comparison. A C comparison will parse this as `(a < b) > c`, and you'll get false for a=3, b=5 and c=1.