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.
i like it
Pep8 recomends not to use complex compound statements, like if len(x for x in list) > len (y for y in range(6): return [x for x in list] if A else 0
This is fine i guess
Very easy to read too!
0-5 == -5 right? :)
thats why it works
I like your solution... very clever
I - indentation.
best and beast practice.
Would have never thought of this..
Thank you all
This comment is hidden because it contains spoiler information about the solution
spoiler
This comment is hidden because it contains spoiler information about the solution
Arrays with negative numbers are not generated in the tests, but still for the array [-1, -2, -1, 0] your solution will return -1, although the correct index is 1.
Thanks for the info lechevalier -- I was really wondering what the problem was.
Just beutiful <3
Loading more items...