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.
I think it's more like 6kyu
Thanks!
Should be fixed, could you please verify?
done
Ruby 3.0 should be enabled.
I like this kata.
Forked python translation with 3.8 enabled & new test framework used
I also got the random test to compare
'100T'
and'100000KG'
while the sorting order was not specified.For python, if two items have equal weight, this kata only accept 1 ton is heavier than 1000KG, while 1KG is lighter than 1000 grams, which does not make sense.
1g * 1000 = 1Kg
1Kg * 1000 = 1T
so 1g * 1,000,000 = 1T
2950Kg < 3T < 3000001g
Isn't the below expected result incorrect
Shouldn't it be G, followed by KG and than T
My code is returning the value in the left but test is expecting the answer as it is in the right
['3000001G', '2950KG', '3T'] should equal ['2950KG', '3T', '3000001G']
(Ruby) When the weights are the same ie: "30KG", "30000G", "30KG" only the order that starts with KG is accepted: "30KG", "30KG", "30000G".
Also "90000G", "90KG" is not acceptable, but "90KG", "90000G" is.
You are right; my bad for not clarifying that I was referring to my translations in other languages.
Loading more items...