3 ms·
That's 163 vs 486 characters, so, as I expected you'd need about three times the amount of code to do the same thing in C++. And just look at the difference in
by t4k1s 14y ago
That's 163 vs 486 characters, so, as I expected you'd need about three times the amount of code to do the same thing in C++.
And just look at the difference in readability/simplicity. I can explain the Python code to my 12 year-old cousin, the C++ version though...