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.
At first glance the answer is obvious, but if you try to think about how you could abstract your code, then that is what makes it 6yu in my opinon
Came here to see how many others said this. Maybe it's harder in other languages? I did it in Python and passed on my first attempt.
don't print the result
even 9kyu if it existed
Because of number of letters.
If you just sum ASCII numbers for each letter in a word "aa", you'll get "97 + 97" = "194", in the same time for word "w" you'll get "119", i.e. "194" > "119".
It's a wrong answer.
According to the task, you should consider letters position in the alphabet: a = 1, b = 2, c = 3 etc. : so you supposed to get for "aa" -> "1 + 1" ="2", and for "w" -> "23".
"23" > "2". The correct answer is "w".
cool kata :))
This comment is hidden because it contains spoiler information about the solution
nice kata, but definitely not 5kyu
Very nice kata, had a lot of fun :)
I really feel like this should be 8kyu kata, but i know u cant change the rank.
I know you cant change the rank but still, this is too easy for 6kyu :D