• + 0 comments

    Yeah easier code for a human to read and write, but probably worse, performance-wise because Count() is probably iterating through var a 3 times when using longer code would allow you to solve the problem by only iterating through var a once. (this is only a guess because I'm not familiar with Linq or Python's inner workings)