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.
itertools.batched
added in Python v3.12. Codewars uses Python v3.11.Thanks for explaining.
I saw that in some test cases, the number
2
also happens to have something like this.For example, the number
32056
:тридцать два тысячи пятьдесят шесть
тридцать две тысячи пятьдесят шесть
Is this also caused by the masculine-feminine relation between words?
Also, I feel like this is something that should be mentioned in the description. I'm not a russian speaker and currently confused as to how to differ between masculine and feminine words.
Can you explain to me or refer to part of the description on why it should replace
odin
withodna
even though it's not a float?Right, I speed read that part and now I know why after reading it again. Thanks.
If I translate this to latin first, it will parse the prefix as
odna
instead ofodin
.This gives:
'один целая пятьдесят шесть сотых' should equal 'одна целая пятьдесят шесть сотая'
Meanwhile in
num_to_russian_cyrillic
,2F
isсотых
. There's a contradiction in the suffix for this test case.Tests should use
chai
for assertion instead of the global objectTest
(it's only there for compatibility). See docs here for example: https://docs.codewars.com/languages/javascript#example-for-node-v10.
There should be some message for the error handling test cases as it is not clear what is being tested here.
The order of the input coordinate values should be described in the description.
It was not an actual JS translation, if I'm correct. Codewars used to not have BF as a language, so they made a workaround by doing it on JS. Once CW added BF, BF added as a translation to those katas.
No sample tests
Currently, random tests use char code
32 - 126
. So, I don't think this needs to be handled.Leaving author to resolve this, since author might have a change of mind later.
Well, you can't delete / remove a kata once it has a solution. However, you can un-publish it. The kata will be reverted to
Draft
status.Loading more items...