|
|
|
|
|
by lelanthran
1106 days ago
|
|
> Fairly simple things like [1,2] < [10,2] return false (unlike every other language I’ve ever used) What other languages, besides Python, does this builtin list comparison work in?
What's the result when the comparison is `[1, 2] < ["10", "2"]`? |
|
println!("{}", vec![1, 2] < vec![10, 2]); println!("{}", (1, 2) < (10, 2));