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.
Translation improved
or just input
Word
s. why do input validation when you have a frigging type system to do it for you?Fixed
Fixed
I think I have fixed Javascript and Ruby, added more random tests as well.
added here
That kata has been sent back to draft, closing
Now added in latest fork
added.
@lirilant would be good if you provided the test case that's wonky and your answer vs expected, really hard to guess what you would have run into otherwise, if even anything at all. the tests already look like they intend to (i did not verify cause i'm on a freaking phone) avoid results near point five .. so what else would it be?
tbh my guess is that your ruby version is not equivalent to your python version eg. / being int division in one of them and float in the other
something is up with Ruby version, did not get values near enough. Used exact same formula in Python version and everything was ok.
.
closing this issue as a duplicate, to keep the newer one that mentions JS as well
It seems logical to transfer such tests with additional spaces to fixed tests.
Otherwise it's possible (at least in Python) to randomly solve the kata with partial solution that does not preserve additional spaces.
Loading more items...