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.
modulo operation correct?
If what you mean is how it works, in here it prevents Index out of range by taking the leftover of a division.
So by having the length of the original list when the number goes higher it instead loops arround to 0 every multiple of it.