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.
Attempt cases doesn't include a test case similar to last test case in which numbers are as strings. So even if that constraint hasn't been met succesfully, still we can pass the Kata. So, the Attempt cases should includesuch test cases as well.
Kata was good! I just felt that nb(25,1) example caused a bit of confusion. I understand that its been stated 'numbers of interest', but it would be better if all the numbers would have listed and then counting no. of d from their squared forms.
Please provide bit more detail regarding the mathematics behind it as in why water * 1.1 ^ (clothes - load).
Hope this helps!
In the second para of the description, clothes and load should be interchanged. That's the major edit needed.
I got the same issue, just simplify your nested loops to bring down the complexity.
In some of the python versions, str.maketrans won't work. In those instances, import string and then use string.maketrans