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.
There are still tests that test array elements by indexing its values one by one, which will throw an error if the returned value isn't indexable.
They should be replaced with array comparison.
Compound interest for fraction amount of unit of payout period is undefined in real life: Real life interest are paid in specific period (e.g per day/month/year). The kata assumes infinitely fine-grained interval, but it's only a mathematical construct; you can only assume interest is multiplicative and analytically extend the values to all real values between the payout periods (which results in exponentials), but it's a limit.
And all of this was never explained anywhere, so it's only up to pure guessing what payout model is being used by the kata.
Well, the context is an interval. It can be a unison, second, third, and so on. For instance this kata uses chords with major third and minor third intervals.
Fine. Not sure how you arrive at that given the context, but I'll allow it.
Can I use
thirds
instead?There's a typo in the description:
"3ths" is incorrect, after all, "thirths" ist not a word. Even a cursory thought would show that the actual word is "thirst", therefore the description should read "3st".
great, fixed
Hello, small issue in Python: the typing is:
def chord_triad(root -> str, color -> str) -> Tuple:
should be:
def chord_triad(root: str, color: str) -> Tuple:
thx fixed
Small issue, Actual and expected values are swapped (should be
test.assert_equals(actual, expected)
).See: Python Codewars Test Framework - Equality tests
I added a Python translation. Let's see who is up for the challenge.
I'm seriously impressed by the updated description.
Thanks for that. It's a lot to take in, but I'll do my best.
Perhaps so, but I wanted to make an overview for beginners and I had fun writing this :)
Woah. Nice work. But I can't help but think that simply linking to a wikipedia article might have been easier :)
Loading more items...