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.
Just make a research with the names of the methods you don't know and you should find all the informations about it.
Someone can explain me this please? ^^
It's a solution of a programmer knowing his language.
12 Best practices and 18 Clever votes
don't you think this is a typewriter operator, not a programmer, solution?
rly? well, maybe it's clever but not sophisticated.
Oh boy. I really need to take a closer look to the built-in methods.
This is so obvious and I wrote like a mile of code. - Thank you for this solution.
just like all people, worked for and 30min to solve normally, but very much thanks to your solution. it helps me and so many people. Thank you ;-)
Exactly like my solution.
This comment is hidden because it contains spoiler information about the solution
groupby()
take iterable(sort of sequence) and return tuple of group key(str) and lazy iterator(itertols._grouper).So because its lazy it will give you a value only as in needed. But you can get sum of iterators values.
Then you need to create generator expression, which consist of
Hope i did it good.
wow nearly 3 hours of work could have been reduced to a measely 1 minute. Atleast I know those methods exist now, I just hope I don't forget that they do before the time comes when I actually need to use them.
On the contrary: you practiced something that may help you in another situation where you cannot use this feature, and you learnt something new :)
dafakkk you make my 2 hours meaningless
wow!