We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
The test runner appears broken, anything solution I try results in this Python error:
Traceback (most recent call last):
File "/custom-ztciEr8Zbx3aAXhveWH4/solution.py", line 94, in
score, testcase_status = process(data)
File "/custom-ztciEr8Zbx3aAXhveWH4/solution.py", line 56, in process
is_code_works, scores, testcase_statuses = check_inputs(testcase_input, testcase_output, user_output)
File "/custom-ztciEr8Zbx3aAXhveWH4/solution.py", line 46, in check_inputs
raise("check")
TypeError: exceptions must be old-style classes or derived from BaseException, not str
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Array Of N Elements
You are viewing a single comment's thread. Return to all comments →
The test runner appears broken, anything solution I try results in this Python error:
Traceback (most recent call last): File "/custom-ztciEr8Zbx3aAXhveWH4/solution.py", line 94, in score, testcase_status = process(data) File "/custom-ztciEr8Zbx3aAXhveWH4/solution.py", line 56, in process is_code_works, scores, testcase_statuses = check_inputs(testcase_input, testcase_output, user_output) File "/custom-ztciEr8Zbx3aAXhveWH4/solution.py", line 46, in check_inputs raise("check") TypeError: exceptions must be old-style classes or derived from BaseException, not str