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.
its broken
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
7210 should equal 2071
why? 7210 is bigger than 2071. so why 7210 is incorrect?
That's an issue with your solution, not with the kata.
Exec time out. Python isn't so optimized for this kata
No, they're not the same. The input here is a string. Not a kata issue.
tested on my pc, code works with this samples. here its occurs an error with the same samples