Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
no
; at the end of code is awful
That's not clever. Target was to output is as over-complicated as possible. Not as simple as possible.
OK, who's been marking this as 'clever'... ?
Agreed. It's still fun to skip around and do some here and there, but I've run into issues with unspoken requirements and missing tests. Crowdsourcing, you get what you pay for :)
Good call, though you should probably report it to the kata creator instead, since it means their tests are lacking.
Yes. Forgive me, I don't know where my head was at. If I could delete comments I would withdraw it.
oy. that cold medicineb must've been stronger than I thought. don't know what I was thinking you are totally right.
It should prevent a division by 0 error if sum of contents == 0.
ex.
ary == [0, 0, 0]
ary==[-2, -1, 0, 1, 2]
will fail if ary == [0, 0, 0] or ary == [-2, -1, 0, 1, 2]