Python new test framework should be used (Refer this & this for more detail)
Ruby 3.0 should be enabled (Refer this & this for more detail)
No random tests in Ruby
Python 3 should be enabled.
This comment is hidden because it contains spoiler information about the solution
Not a kata issue.
You can wrap your code in a ``` name_of_language block so it is formatted properly in the discussion. Your code (python?) worked correctly for me for the two quick tests I did. Can you provide more information about what is not working?
Previously there were no sample tests, so if you clicked "Run Sample Tests" you'd get an error regardless of your code, but Submit worked just fine. Maybe that was the issue?
I've stolen tests from the submission section to include in the example section. You should not have this issue anymore.
I believe the original author was trying to point out the distinction between odd index and odd position. For a zero-based array, elements at even position are oddly indexed. He is not wrong about this, but it was confusingly worded. I've rewritten the 'note' section to hopefully make it more clear. It makes sense to me as written now, but if you still think it is poorly worded, please let me know and I'll try again.
Python version has no tests and is throwing an error no matter what I have.
Your code is failing when the array provided is empty. You access arr without checking if the array contains any elements, so your code will be getting an array index out of bounds error and so failing the test.