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.
ruby & python updated
fixed
Node 12 should be enabled (Refer this and this for more info)
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
Done.
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.
The instructions are very confusing. Change this sentence "elements at indices 0, 2, 4 are 11, 13, 15 and they are at odd positions as 11 is at position #1, 13 is at position #3 and 15 at #5." You actually wanto to square the elements present at odd positions in JavaScript.
This comment is hidden because it contains spoiler information about the solution
Loading more items...