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.
Ok, just realized that my range was wrong and should be: range(len(lst) - 1)
This comment is hidden because it contains spoiler information about the solution
Just curious where did you learn to use step(by: x).take(n) from? I'd like to read more on it. Thanks.
This comment is hidden because it contains spoiler information about the solution
May I ask what kind of syntax is this on the return line? Thanks!
Took 1217ms to complete. Same error. Mind I ask if you've solved it?
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
If I run my code in my own terminal, everything works fine. But when I run test on here, I get the same typeError. Don't know what's wrong with it.