Ad
  • Custom User Avatar

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

  • Custom User Avatar

    I also thought the same, so tested it with a string with lots of spaces and only a few characters. It returned false where it should have returned the hashtagged word.

  • Custom User Avatar

    I'm really surprised this solution even work.
    This case should have been tested IMO.

  • Custom User Avatar

    I have the same issue. I pass all the tests but get this error under the "STDERR". What does it mean?

    Time: 850ms Passed: 27 Failed: 0 Exit Code: 1
    Test Results:
    Sample tests (7 of 7 Assertions)
    More tests (10 of 10 Assertions)
    Random tests (10 of 10 Assertions)

    STDERR
    Traceback (most recent call last):
    File "main.py", line 60, in
    test.assert_equals(solve_runes(s), solveDarkRunes(s))
    File "/home/codewarrior/solution.py", line 16, in solve_runes
    elif eval(runes_list[0]) == eval(runes_list[1]):
    File "", line 1
    -0633
    ^
    SyntaxError: invalid token

  • Custom User Avatar

    Issue not specified. Also -NUMBER_1 - -NUMBER_2 is a valid form of input.