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.
i kinda don't understand the question. it's worded weirdly, but i can kind of guess what it wants me to do.
and the maths seems to be off. for the input [[1, 5, 7, 1], [1, 7], [6], [], [7, 1, 8, 2, 9]], the output should be [15, 13, 15, 3, 9]. however, 1+5+7+1 = 14, not 15. 1+7 is clearly not equal to 13, 6 != 15, etc. the question is quite vague, so i don't really know how to return the output.
I unpublished this kata because it lacks random tests and the JavaScript version is for a different task.
Please read the following guide for authoring kata in Python.