Struggling with exactly same thing. I'm not sure if this is due to using vim mode but indentation in python is driving me crazy. It's constantly complaining about wrong indentation even though I know it is correct.
This kata tests your solution with some very large numbers, where actually calculating the factorial would be a bit outside the bounds of reality. Fortunately there's a shortcut to just determining the number of trailing zeroes in a factorial, and this kata is really about figuring out that trick.
Hint: think about what number you need to multiply something by to add a trailing zero.
I do not believe it is bugged. Based on the test output you gave, you are returing a list of characters, not integers.
I can't debug it either way if I don't know what language you are using or what your code looks like. Would you mind sharing? You can mark the message as having spoiler content and it should be hidden.
Not an issue
Don't see what's the problem.
I like this solution the best.
It's definitely your code, not the test. Sorry!
This is a problem for me editing haskell as well.
Struggling with exactly same thing. I'm not sure if this is due to using vim mode but indentation in python is driving me crazy. It's constantly complaining about wrong indentation even though I know it is correct.
Use str.isalnum(). It only returns characters that are alphanumeric.
This comment is hidden because it contains spoiler information about the solution
Spell check: 'secrent' string.
This comment is hidden because it contains spoiler information about the solution
This kata tests your solution with some very large numbers, where actually calculating the factorial would be a bit outside the bounds of reality. Fortunately there's a shortcut to just determining the number of trailing zeroes in a factorial, and this kata is really about figuring out that trick.
Hint: think about what number you need to multiply something by to add a trailing zero.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
I do not believe it is bugged. Based on the test output you gave, you are returing a list of characters, not integers.
I can't debug it either way if I don't know what language you are using or what your code looks like. Would you mind sharing? You can mark the message as having spoiler content and it should be hidden.
Loading more items...