Ad
  • Custom User Avatar

    Once it has a reply, no, you can't, don't worry.

  • Custom User Avatar

    Which language are you talking about? If it is Python the tests are fine:

    It should work for random inputs too: None should equal '-100,-97,-96,-94,-93,-90,-87,-85,-82,-80--75,-72,-69,-67'
    

    I don't see as you claim, -97--96 or -94--93 in the expected result.

    It should work for random inputs too: 
    '-78,-77,-75,-73,-71--69,-66,-65,-62,-59--57,-54,-53,-51--50' # your answer
    should equal
    '-78,-77,-75,-73,-71--69,-66,-65,-62,-59--57,-54,-53,-51,-50' # expected value
    

    Your code is producing the wrong answer there, it's the first one in the error message.

  • Default User Avatar