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.
6 maybe in the string format
Agree: what's bad with it?
Why we must filter this solution?
This solution is very clever, and faster than my solution and yours. ;-)
The questions asks you to check that the number inputed is an integer; in this case the number inputed (n) is a decimal and therefore you should return none instead of 6.