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.
Hi,
I wrote this code as a starting point but did not expect it to pass all tests.
I do not understand why it works with empty lists.
If lines is an empty list, then len(lines)=0.
So {i+1} should generate an error, shouldn't it ?
thanks :)