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.
Confirmation bias is a powerful force. Especially late at night.
Disregard...
Disregard. I saw someone else's earlier comment and thought they were having the same problem as me. Sorry for wasting your time.
Why are you returning numbers with other digits?
Your function returns
515
, the expected value was531
, the input value was513
.You're misunderstanding what to do, you have to reorder the digits of a number and get the next bigger number with those. Not pick the digits you want and make a number with the ones you choose to pick. It's even in the instructions.
Check that when you think there is a problem with the kata, when there are that many completions generally the problem is not with the kata ;)
Good problem. Too bad it seems to be broken for Python.
3 failures for the sample tests:
"515 should equal 531
2020 should equal 2071
411 should equal 414"