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.
Because 7210 is the greatest, not the next bigger number, the first number in the error message is what your function returned instead of the correct value. If you want to see the input, print it. It's been discussed before many times, like here: https://www.codewars.com/kata/55983863da40caa2c900004e/discuss#6500a4bf67abf10ae9d76133
That's an issue with your solution, not with the kata.
No, they're not the same. The input here is a string. Not a kata issue.