Ad
  • Custom User Avatar

    Next bigger number with the same digits

    Why are you returning numbers with other digits?

    515 should equal 531

    Your function returns 515, the expected value was 531, the input value was 513.
    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.

    Python Completions 2445

    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 ;)