0
Why this code does not run?
I tried to make a code to sort lists, from lowest to biggest. When i run it, return a ValueError saying "2 is not in the list" with my example. The debuger shows me that the first time the values permutates the 2 disappears, and give other value in that place, the permutation does not complete, only a part changes. What's going wroge with this code? I cant find a mistake https://code.sololearn.com/clsP7rWIQ1MI/?ref=app
1 ответ