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.
Exactly what i was thinking. I first tried it like above, but it was throwing me an error. But i think mainly because i used "for i in 1..<num" and it was checking with 0.
I nested the whole thing in a "if num > 0 {...} else {return 0}" but mainly cause i'm not much familiar with guard. :D Thanks, gonna look into that again.