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.
Test expects function to be named "mission_impossible" while it is given as "MissionImpossible"
Description makes it sound like the function will take in a LivingThing object as a parameter, however the test sends a dictionary object instead. (applies to Python version)
Instruction text says to print the list, but kata expects the list to be returned.
Also, "you need a list" is not very descriptive.
Nice kata, but I don't think the division operation should result in 0.0 when encountering a divide by zero error. None would make more sense to me.
Hi, please disregard. I have solved the issue. Seems to be caused by operating directly on the input array, the problem was resolved when I created a copy of the input instead and operated on the copy.
This comment is hidden because it contains spoiler information about the solution
Test 10 in Python version appears to be incorrect.
It passes in a single direction (array with one value), and seems to be expecting an empty array to be returned.
Unless I have misunderstood the instructions an array with one direction should return the same array, since one direction cannot be reduced.