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.
It would be helpful to extend the basic tests to better reflect the range of inputs given in the random tests. I coded around spaces/(x ---- and y ----) because this was mentioned in the instructions, but arriving at the random tests I get the result:
PASS - txt = '7 eyes of rat\n0 tail of owl\n7 tails of rat\n2 ears of snake\n2 ears of snake'
FAIL - txt = '0 ear of rat\n0 eye of toad\n62 legs of rat\n8 tails of snake\n2 tails of snake'
And I have no idea where to begin working out why
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution