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.
This comment is hidden because it contains spoiler information about the solution
It would be more accurate to say that we need to account for 0 as the first number in the sequence, thus we add 1 to generate the expected sequence, not that we exclude zero.
because we don't want to include "0", which is generated as a first number
crazy clever
I think it's because range takes all the numbers up to but not including the 2nd parameter.
For example:
range(1, 8) covers the numbers 1, 2, 3, 4, 5, 6, 7
This comment is hidden because it contains spoiler information about the solution