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
Thanks. I see.
The input can't be 13.
What if the input is 13? Then it doesn't even work. How can this be top solution? :D
I appreciated:
Very clear!
thank you for explanation
If it helps, list comprehension is of the form:
Which can be written as:
You can put as many for as you want, and of course you can put list comprehension inside list comprehension:
Which can be written as:
It took me some time to understand which for was done first when I started.