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.
note to self: no need for the type cast as the function already returns an int.
note to self: we could have simply incremented by x instead of a nested loop.
note to self: even * odd = even, therefore we could have avoided the type cast by doing "num * (1 + num)" first then dividing by 2.