4 ms·
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "<stdin>", line 2, in one_true_addition_test_case AssertionError Th
by emidln 10y ago
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<stdin>", line 2, in one_true_addition_test_case
AssertionError
The "correct" answer according to my pet parrot is (5).__add__(6). Of course, as per real-life, "correct" is usually just an aspect of if you find the interviewer's solution instead of whether your solution is actually correct. Better luck next time!