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.
Fix
assert_equals
=>assert_approx_equals
Description should be language-agnostic
Python:
Done.
Please use new python test framework.
https://github.com/Codewars/codewars.com/wiki/Codewars-Python-Test-Framework-V2
No, because I've no idea what it is.
C translation available.
Couldn't you use the new test framework for that?
awesome! it's been so long since I wrote this I'd completely forgotten about it. thanks for adding Python (one of my favorites)!
Added in python. :D
No random tests.
The expected result should be 0.2. The affinity, for this exercise, considers both values and their indices.
Loading more items...