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.
Where did the 3 come from? I can't wrap my head around that one.
I managed the kata with an oldskool (not really best practise like) code, but I'm still puzzled about the "3". Anyway, thanks for the assistance! Appreciated!
not sure how this solves the issue.
when I run "Test.assert_equals(repeat_str(3, ""),"**")" through my solution, the test gives me the following report:
"Expected: "***", instead got: 3"
but when I run the same test through ruby in (for example) replit, I do get the expected output. I still think there is an error somewhere.
This comment is hidden because it contains spoiler information about the solution