Ad
  • Custom User Avatar

    @EvgeniiKlepilin is correct, although this solution technically passes the tests, the tests don't cover all of the requirements that are listed in the description. I've posted on Discord to see if someone can add a few additional tests, as this incorrect solution is actually giving bad information to new users.

  • Custom User Avatar

    Can someone with edit abilities please add the following 3 tests to the Error Test Cases section. Currently this specific test is only being done for +, not the other operators, and it's allowed some solutions to get through (and be highly upvoted) that don't actually meet all the requirments in the description.

    test.assert_equals(calculator(":", ",", '-'),"unknown value")
    test.assert_equals(calculator(":", ",", '*'),"unknown value")
    test.assert_equals(calculator(":", ",", '/'),"unknown value")