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
So good to read! I learnt some new from this code :D
Thanks!
Here, you even didn't use a list, yeah, sum takes any iterable one I guess :D
Thank you!
One of the best!
Good one! You also are good writing without "!=0" because boolean for "0" would be "False" anyway, and all others would be "True!
I used set, but actually this one is shorter, maybe it's more expensive if talking about productivity...
Thank you!
Good one :D
Thank you! I like the logic, it's precise and clear in the same time!
This one is concise and well-understandable, respect!
He meant the logic of solution would not be valid anymore, but still genius as it has 0.5 =)