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.
This comment is hidden because it contains spoiler information about the solution
Approved
python new test framework is required. updated in this fork
Nice kata, but why is it named 'Rectangle' Cipher Puzzle?
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".
it would allso count 1 or 2 or 142892 for that matter but not int(0) or str("")
This comment is hidden because it contains spoiler information about the solution
using copy.copy(), should not be able to manipulate input.
Have to admit, I tried Missy Elliott first... hehehe!
The user can modify the input.
removed silly try-except from earlier hotfix
fixed
Separated test variables to prevent input manipulation.
Loading more items...