Open nemoyatpeace opened 10 years ago
I tested the first, and apparently the parser does this:
(5==5)>4
which gives 1>4
, which is false.
Python3 parses it as ternary conditionals, like so:
5==5 and 5>4
Nice, thanks for the reduced repros.
https://docs.python.org/3.4/library/stdtypes.html#comparisons
This is from the Filbert Interactive Testing page:
Output:
Both should work.