Ad
  • Default User Avatar
  • Custom User Avatar

    Thank you for this great Kata, clever exercise.

  • Custom User Avatar

    You really should work on description of your Kata, only after reading the problem of brunobell i understood what is expected here.

  • Custom User Avatar

    Thanks for this great kata!

  • Custom User Avatar

    Thanks for the reply

  • Default User Avatar

    Nothing wrong with the tests : your function is not perfectly exact so you can fail some random tests due to their inputs. (Your two divisions by 100 bring some float imprecision. You could also have noticed that all numbers are integers so don't put floats in there...)
    Please look at some of the top solutions and you will see. Cheers.

  • Custom User Avatar

    Hi, great mathematical problem, had to help myself with google to fully understand the problem tough.
    Just one suggestion: when I submitted the solution first time 2 errors poped up, next time with the same code only one poped, and on the third time there was no errors. I guess that something is wrong with the tests.

  • Custom User Avatar

    I agree. Once I read the explanation on Google under the name "Connect the ropes" I had no problem solving it. I think you should update the explanation part

  • Custom User Avatar

    Great mathematical problem. I have to admit, i used loops to get the solution which was too long and in the end i had to see solutions of others to simplify my code, but i learned something new. So in the end i just wanted to thank you for this great kata

  • Custom User Avatar

    Great brain teaser. I learned a lot trying not to use for or while. I used them a lot because I am still slerning, so this was a real chalange. After I succedded I wanted to bash my head against a wall when I saw the simplicity of the solution.

  • Custom User Avatar

    you're welcome!

  • Default User Avatar

    This comment is old but the problem is still there.

    The description should state if boolean should be considered as numbers or return None.

    At the monent random tests expect None if there is a boolean in the area but very rarely test this kind of array (usually there would also be a letter in the array)

  • Custom User Avatar

    Great try - except example

  • Custom User Avatar

    Excellent brain teaser. Made many mistakes, in the end i had to consult other solutions to come to mine, but larned a lot. Thank you very much.