Haha it's always possible that I'm misreading it, but I don't think that's what's happening this time (I apologize if I am lol - and further, the numbers, as you point out, seem pretty convincing, so it wouldn't surprise me if I'm wrong). I added some code to print out relevant info and pasted the result below.
0 should equal 1
Log
input is: [3, 7, -99, 81, 90211, 0, 7]
solution is: 0
solution's type is: <class 'int'>
I apologize if this is the wrong area to post this - I'll redirect if needed. After clicking attempt, the following test case failed: [3, 7, -99, 81, 90211, 0, 7]. My solution suggested the answer is 0, which is in fact the correct solution. The test case expected 1 for the solution. So whatever generates the tests isn't working perfectly.
Well this is embarassing. That's exactly what happened. Thanks for your responses! :)
Haha it's always possible that I'm misreading it, but I don't think that's what's happening this time (I apologize if I am lol - and further, the numbers, as you point out, seem pretty convincing, so it wouldn't surprise me if I'm wrong). I added some code to print out relevant info and pasted the result below.
0 should equal 1
Log
input is: [3, 7, -99, 81, 90211, 0, 7]
solution is: 0
solution's type is: <class 'int'>
I apologize if this is the wrong area to post this - I'll redirect if needed. After clicking attempt, the following test case failed: [3, 7, -99, 81, 90211, 0, 7]. My solution suggested the answer is 0, which is in fact the correct solution. The test case expected 1 for the solution. So whatever generates the tests isn't working perfectly.