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 task was OK, but why is the function named Past??
In Python, not only does the sample test call the wrong function (expect vs assert) but the test itself is wrong:
test.assert_equals(justify('123 45 6', 7), '123 45\n6')
123 45
is 6 characters, not 7.The (Javascript at least) description cuts off before the end...
This comment is hidden because it contains spoiler information about the solution
On JS version - there is literally one cryptic line of description, and no tests??
In case anyone wants some test numbers which aren't legit, there are standard ones: https://www.paypalobjects.com/en_US/vhelp/paypalmanager_help/credit_card_numbers.htm