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.
Thanks, bro!
char variables store ASCII values of a character. Lowercase characters range from 97 to 122.
The only thing left is typecast char to int and receive the ASCII value;
can you tell me how it works ? what is 96?
Well, I believe in YAGNI (especially when solving katas, but also in real life).
If it's not part of the requirements - why bother myself with that?
Although not stated in the problem description,
what about uppercase letters?
position('A') => "Position of alphabet: -31"