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.
I removed it. This precision doesn't make sense, if we suppose people might not know what even digit is, we should give the whole list of them, but it seems too much (if someone doesn't have clear what an even number is, he can just check it).
Thanks for the reply. I honestly don't remember ever hearing of people thinking 0 would be an odd number. I suppose there could be a question around it for people new to math and coding. But yeah, if it needs to be clarified, they might as well go ahead and list all the odd digits.
No worries. I mean, it's not wrong... 0 of course shouldn't be counted as an odd digit. Just a bit humorous.
Thanks for presenting a valid solution to the issue
Written like that, you can either think it is an even number or that it is an odd number but you shouldn't count it, which is wrong. Either say it is an even number or mention the odd digits if you need clarification.
"Among the general public, the parity of zero can be a source of confusion."
So once again I submit, "so people don't accidentally count 0 as an odd digit and fail to understand why their solution isn't working?"
0 is an even number, hence the question.
So people don't accidentally count 0 as an odd digit and fail to understand why their solution isn't working?
Some people, when confronted with a problem, think "I know, I'll use regular expressions." Now they have two problems.
"Don't count zero as an odd digit."
Just curious, why does this need to be said?
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Cleaner than the top rated solution
This comment is hidden because it contains spoiler information about the solution
That's not a valid argument for this problem. Only one number can be different.
This comment is hidden because it contains spoiler information about the solution
Loading more items...