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.
IMHO
'0/1'
is better than'-0/1'
.Why keep an useless
'-'
when all other things are simplified?For example:
'0.2'
->'1/5'
();'2/10'
'00'
->'0/1'
();'00/1'
'00.00'
->'0/1'
()'0/100'
or'0000/100'
With edge case using -0 the output should be -0/1. IDE is outputting -0/1 but somehow the test is not recognizing it.
string.repeat(repeat)
:D
think this is along the right lines, but you've got quite a lot of unnecessary code in it. You could strip most of this out and it would still work.