Ad
  • Custom User Avatar

    if that the case just return false

  • Custom User Avatar

    As much as I can tell, this kata is solvable in integers and solutions can avoid any problems with accuracy. This would mean that your rounding problem is not a kata issue. Generally it's a good idea to stick to smallest required unit (here seconds) and perform calculations using it. This way you avoid division and inaccuracies caused by it.

  • Default User Avatar

    In one test, array1 == [] and array2 == None...

    It is not that test you are failing.
    Moreover, before posting an issue look at the top of the page to see how many people passed the kata (Python: 12135). When this number is high chances are your code is wrong somewhere.