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.
Thanks for that, the difference is a bit more than I hoped but less than I feared =)
At least it confirms (if it was not obvious):
which is evidentely the best practice anyway, as a function reason to be is to be called more than once! (But I'm not responsible for most people confusing "best practice" and "shortest solution"…)
Just to needlessly contribute to a 5 year old debate, here are the timings i get:
Where
n
is the list size andcomparing this solution to the solution of Mercy Madmask.
This comment is hidden because it contains spoiler information about the solution
I like seeing the double line break after the import as per PEP 8, rarely see that around
Good Job. This would be the problem we were asked to solve.
very goood
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Does it really? I think it reassigns the binding, but doesn't change the referenced object.
I might be wrong, I don't know that much Python.
Oh, yes! You a right!!!
Why did I write True if... else False?...
i feel so sigma!
intersting , thanks anthor
Nice kata to warm up
Yeah, I completely agree with this.
Really cool kata :D
Loading more items...