Python tests are unordered but is easy to deal with that.
The main problem is that the random inputs have always an extra element. In this example there is an extra "-2" that does not make any sense.
It should work for random inputs too: ['8', '6', '-1', '6', '9', '1', '9', '0', '4', '-4', '-1', '1', '5', '-4']
should equal ['8', '6', '-1', '6', '9', '1', '9', '0', '4', '-4', '-1', '1', '5', '-4', '-2']
.
This comment is hidden because it contains spoiler information about the solution
Fixed (or so I hope), sorry for the inconvenience!
Fixed (or so I hope), sorry for the inconvenience!
Fixed (or so I hope), sorry for the inconvenience!
Yes, that is not right. I have asked the translator to have a look when he has time. Thanks for reporting.
Yes, that is not right. I have asked the translator to have a look when he has time. Thanks for reporting.
Python tests are unordered but is easy to deal with that.
The main problem is that the random inputs have always an extra element. In this example there is an extra "-2" that does not make any sense.
It should work for random inputs too: ['8', '6', '-1', '6', '9', '1', '9', '0', '4', '-4', '-1', '1', '5', '-4']
should equal ['8', '6', '-1', '6', '9', '1', '9', '0', '4', '-4', '-1', '1', '5', '-4', '-2']
Python tests are broken, see example:
Testing for [9, 9, 2, 5]
It should work for random inputs too: ['9', '2', '5'] should equal []
The answer is ['9', '2', '5'], not [].