Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
This comment is hidden because it contains spoiler information about the solution
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.
I'm really surprised this solution even work.
This case should have been tested IMO.
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
Issue not specified. Also
-NUMBER_1 - -NUMBER_2
is a valid form of input.