Ad
  • Custom User Avatar

    Not a syntax error, just lazy test making.

    The test suite does not guard against equal_to_24 returning "It's not possible!" before calling eval (when an equation is expected). Thus, the tests try to run eval("It's not possible!"), and since "It's not possible!" is not valid Python syntax, a SyntaxError is raised.

  • Custom User Avatar

    well said, updated, thanks

  • Custom User Avatar

    There are 3 different boxes, each with different commands. Solution for one won't work for another. Box number is given to you as function argument.