Ad
  • Custom User Avatar

    There is no such a test case in any languages, so resolving.

    There is a test with zeroes(12, 27) though, and the expected result (11) is correct.

  • Custom User Avatar

    I print the base and number and the log say that it's 3 and 27

  • Custom User Avatar

    27! should have 13 zeroes indeed, but I have node idea how did you get this error.

    In random tests number is randint(1000, 10000) and there are no hard-coded tests with zeroes(3, 27)

    Are you sure you're solving this kata and not some of its kumite?

  • Custom User Avatar

    in python... it say that 13 should equals 11

  • Default User Avatar

    Correct. And what do you get and in which language?

  • Custom User Avatar

    I think the 27! in base 3 should have 13 trailing zero. I have calculated it with online calculator and have that result
    20221020220101212010010102211120112201120020020000000000000