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.
ah ok, so we are preserving the total number of digits, not the total number of zeros. Gotcha!
No,
foobar00999 => foobar01000
there should be 5 digits in both stringsSee the last example:
so foobar00999 => foobar001000, not foobar01000 right?
You can print the input yourself, but in that case it was
foobar00999
i believe there is an issue for one of the test cases here (ruby)
Expected: "foobar01000", instead got: "foobar001000"
if it expected "foobar01000" then the input should be "foobar0999"?
using this as my input does indeed yield "foobar01000"
did you add an extra "0" in this test case?