Re:It's React, but in Python
by CJefferson on Wednesday June 07, 2023 @01:42AM
(#36223284)
List comparison works lexicographically in Haskell, C++ (using std::vector or std::array), Rust, GAP, every language I personally use.
Comparing strings and bits is always going to be weird, so I’ve not tested it.
What other languages, besides Python, does this builtin list comparison work in? What's the result when the comparison is `[1, 2] < ["10", "2"]`?