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.
yea I thought how could I count them(not knowing there is also count function lol
Cannot confirm, all tests in Java have exactly one parity outlier.
It means that your code returned
0
but the correct answer would have been3
.I made some progress but I still need to figure out the solution where I can return the even or odd number not the module of the number.
I can't believe I had to use the datetime library, good solution!
I was trying a similar approach but I wasn't sure how to say if there were a repeated character.
The if stament is pretty clever.