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.
Thanks. I figured it out yet.
Your code being wrong is not a kata issue, try in your IDE calling your function several times, the global var will carry the previous value and that'll give your wrong results after the first one. Use question label for things like this.
Your solution would fail this:
Why are you rounding it at all? The description say nothing about rounding.
Because it will return true for pin like "-123" or "a23456".