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.
Zero is a valid number of children. Nowhere is a strictly positive number of children promised. Not an issue.
This comment is hidden because it contains spoiler information about the solution
Sorry for the long wait, I found it with the Python version
Can you specify language?
I would gladly accept the proper grammar description.Feel free to provide one.
Cheers!
There are apparently other mothers present with no children that has to be accounted for in random tests.
If correct, this should either be mention in description or in a default test case.
Given the nature of the problem (and the description), one would expect only integers as input but test cases does not take that into account.
Several solutions here expects a string input and would fail on an actual CC number.
How is "SF$SDfgsd2eA" a valid CC number again?.. Wouldnt it actually be a good idea to fail on that input and throw an error to be handled?