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.
TIL about repeat method! Thank you:)
This comment is hidden because it contains spoiler information about the solution
Love it, one of the many times I learn something new here!
impressive)
How so? It repeats the string n times.
Now you know bro. Learning along the way ;)
Ideally, it shouldn't be an empty string. When the repeat number is 0, it means repeat 0 times, not erase the whole string. Which means when n is 0, it should simply output the string.
it doesn't work as expected
Thx for a good advice, mate!
This comment is hidden because it contains spoiler information about the solution
You can't learn all the methods, but you have to strive for it
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
great
Loading more items...