Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
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.I print the base and number and the log say that it's 3 and 27
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 withzeroes(3, 27)
Are you sure you're solving this kata and not some of its kumite?
in python... it say that 13 should equals 11
Correct. And what do you get and in which language?
I think the 27! in base 3 should have 13 trailing zero. I have calculated it with online calculator and have that result
20221020220101212010010102211120112201120020020000000000000