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.
python new test frameworks
Python new test framework should be used (Refer this & this for more detail)
Ruby 3.0 should be enabled (Refer this & this for more detail)
In my opinion the examples do not cover all cases in a minimal way.
What should return
super_pad("abcde", 2, fill="^ ")
?Description and examples are incomplete about how to handle centered padding.
That's surprising to pad input to the right by default when most of languages pad it to the left.
Also
>
traditionally means right-paded (i.e paded to the right) and<
means left-paded (i.e paded to the left).You could add a testcase, where padding style is ^ and width is lower than the length of the given string.