Ad
  • Custom User Avatar

    somar instead of sum in the default code and teh test case says 10 + 20 = 50, which is wrong.

  • Custom User Avatar

    Any luck with this? have the same problem.

  • Custom User Avatar

    ...but 3.54 is rounded to 2 decimals and does not end with zero.

  • Custom User Avatar

    That's incredible.

    Thank you very much.

    Your circumference pathing problme was one the first problems I ever attempted in codewars. I almost solved it, but not for all the etst cases. Then I realised I could sort problems by difficulty. I will work towards building katas as good once i work my way through the fundamentals.

  • Custom User Avatar

    I have updated the kata with false tests.

    I will update it with random ones as soon as I get my head around the example code ZozoFouchtra posted.

    I havn't figured out the object.freeze but yet but I will.

    Thank you once again for the help.

  • Custom User Avatar

    Wow! That's incredibly helpful. thank you very much. Ididn't expect thata at all.

    I have updated the kata with true and false tests.

    I don't want to pass the array to the function just because taht would make it different form the first problme I ever solved. I will create a more interesting kata and incorporate that into it.

    In terms of adding the random tests, I don't completely understand how it works. I could just copy the code across but I want to understand what is going on. I will update it as soon as I familiarise myself with each step.

    Thank you once again, super helpful.

  • Custom User Avatar

    Thank you for the feedback. It's very encouraging.

    I have fixed the typos.

    All your suggestions are fantastic but at this stage I can't even add more non-lost cases without it not working.

    Do you know anywhere that explain how to write new katas because the help section is really hard to understand? Either way, I will do my best to get it fixed as soon as I figure it out.

    Thanks once again for teh feedback.

  • Custom User Avatar

    Thank you for taking the time.

    I made sure I fixed the typos. I tried adding non-lost numbers but for some reason it doesn't validate them. I just discovered codewars and this is all new to me. The help section on test cases is really confusing for a newbie. Is there anywhere else I can learn how to add non-lost numbers without the whole kata not working? Either way, I will try and fix it as quickly as possible. Thank you once again for the feedback.