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.
the best
Like the other person said, you could generate the alphabets first, which is better for performance with long strings than the other solutions but worse for shorter ones, since you need to generate a translation for each letter once.
They made the message trans. Darn woke...
This comment is hidden because it contains spoiler information about the solution
wow
Very clever!)
this not good good practice when it's not rot13 case
This comment is hidden because it contains spoiler information about the solution
#11bfq_42w
nice , but what if you wanted to use a different offset like rot15 ?
Beautiful...
Nice. Better than sum() since len() is O(1), takes constant time.
This is because any string that is not '' is "truthy", much like how any number other an 0 (or 0.0) is also "truthy". Unlike, say, PHP, the string 'False' is also "truthy".
This comment is hidden because it contains spoiler information about the solution
They are skipped and untouched "as is"
I love the simplicity but what about spaces and special characters?
Loading more items...