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.
Done :)
Due to a bug with codewars, the test cases did not run :( but I checked on a compiler and the test cases do work.
Thank you!
This comment is hidden because it contains spoiler information about the solution
In python, the initial solution (a.k.a. the text that first appears when taking the kata) says:
However, all of the test cases use the funtion
mission_impossible
instead ofmissionImpossible
.It's not explained in the description what the bath or the string are. Since this is a kata for new programmers, there should be an example in the discription for how to find the bath size rather than having to look in the example tests.
This comment is hidden because it contains spoiler information about the solution