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.
Yeah that's right. I already knew what to do but I'd prefer it if they left out that tid-bit. It is easier for people to remember information if they have to go and find it themselves.
How did you test this function? It's huge!
You could have used
init(repeating: String, count: Int) -> String
in place ofrepeatElement
The task description leaves too much information. I'd like to do the required research, however small, on my own. That's the reason behind Kata, after all - to train the fundamentals, including quick research.
Welp, I am dumb.
I feel bad with my kindergarten-grade code... This is just beautiful.