3 ms·
Nope, I would use sum. Python, Ruby, Lisp, and countless others already have it defined. If I happened to be using a language that didn't define a sum function,
by BrandonM 19y ago
Nope, I would use sum. Python, Ruby, Lisp, and countless others already have it defined. If I happened to be using a language that didn't define a sum function, I would write one.