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.
Yes, that's sure enough, I might say it wasn't as easy figuring this one out as one may wind up at first glance.
I think some basic knowledge about musical notes is expected in this kata. Without this, you probably need to do some additional research.
Nice one, although I don't think it's that elementary and inituitive so that it deserves a higher rank perhaps.
Should be fixed now. Kata only works with diatonic heptatonic scales. I've included more than just the 8 major modes in random tests.
Actually, the last interval is no longer correct now that I've included other sizes and scales other than the major scale. But then again, that last interval just makes the roundtrip and is ignored from current solutions. Need to think for a proper fix though.
fixed
Number of notes is variable now but all sample tests and fixed tests only tests for 7, only the random tests test for different notes.
was added to description
scales of different sizes added to allow for variation.
Solved, scales of different sizes added to add more variation. If no more issues are found, I'll approve soon.
There are no random tests. Every possible input is tested in a fixed sequence.
.
done!!
You could include sharps and flats in the root to make it more challenging.
EDIT: author is inactive for half a year now. This kata is abandoned?
In Python the function should be
get_scale
(snake case).Loading more items...