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.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
it says "Finally, take that sum and divide it by 10. If the remainder equals zero, the original credit card number is valid", so it's explaining what modulus does, but in the code he puts the actually term modulus there to make it easier for us :)
In point 4, says "Divide by 10", while code example clearly states to use modulus. These are not the same.
This description is hard-to-comprehend, I'd propose a change to: "space-delimited list of minor words that must always be lowercase, except if they appear as word in the string.". Otherwise, it is kind of implied that the first ford in teh list-of-exceptions is supposed to be capitalized or something.
See below. The current Haskell tests are botched, sorry. I'll file an issue on GitHub.
The instructions say "smaller" and "larger" will be the only words I need to handle, so why is my code passed ""smaller""? How does tat make sense as a test?