Ad
  • Default User Avatar

    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.

  • Default User Avatar

    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.

  • Default User Avatar

    Please provide bit more detail regarding the mathematics behind it as in why water * 1.1 ^ (clothes - load).
    Hope this helps!

  • Default User Avatar

    In the second para of the description, clothes and load should be interchanged. That's the major edit needed.

  • Default User Avatar

    I got the same issue, just simplify your nested loops to bring down the complexity.

  • Default User Avatar

    In some of the python versions, str.maketrans won't work. In those instances, import string and then use string.maketrans