Ad
  • Custom User Avatar

    Invalid inputs are not tested in random tests.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    The instructions say "Input string will contain: spaces, numbers (may be integers and floats), and arithmetic operations.", and all the example tests and all the test suite tests I passed so far have spaces between the numbers and operators, but then in the test suite I just ran into this:

    Failed for addition and subtraction together: '1+2-3+4-5+6-7+8-9+10' should equal 7
    

    Did you intend for that one to have space separators as well, or should an input string still be considered well-formed even without the "will contain" spaces?