Ad
  • Custom User Avatar

    Nice, I can see my mistake now. Thank you for taking the time to reply!

  • Custom User Avatar

    Your answers are wrong, for instance, you're returning 10 which ends with 0. These are the three sample tests your code is failing:

    test.assert_equals(no_boring_zeros(1050), 105)
    test.assert_equals(no_boring_zeros(-1050), -105)
    test.assert_equals(no_boring_zeros(2016), 2016)
    

    And the tests are fine.

  • Custom User Avatar

    I think this these test cases are wrong:

    10 should equal 105
    -10 should equal -105
    201 should equal 2016

    105, -105, and 2016 don't end with 0