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.
LOL! Yes.
Yes, and that's ok. In your code you did this:
And had to use n as a string and s as a number to make sense of that change, because the tests called your function with the first argument being a number and the second one a string.
There is no problem,
n
is the number of repetitions ands
is the string. In your solution you swaped them, but useds
as a number andn
as a string, there was no need for that.