Ad
  • Custom User Avatar

    Duh! Of course! Makes complete sense now. Thanks for lettime me know :o)

  • Custom User Avatar

    THis tripped me up at first too, the last test case is just missing a final ')', then it's very solvable :P

  • Custom User Avatar

    syntax error, unexpected end-of-input, expecting ')'
    for all solutions

  • Custom User Avatar

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

  • Custom User Avatar

    I updated the test framework so this should be easier to debug. Try it now.

  • Custom User Avatar

    My initial test is passing. when I go through to the next stage it's telling me 3 out of 4 tests are passing and I am getting this error message 'Value is not what was expected' which is stopping me from submitting. I produced another test on code wars too, and checked the code in pry and it works