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 is not a 7kyu kata...
In this case ("11 y.o") you can use a "split"-method 'int(s.split()[0])'
But task is very specific (from 0 to 9).
Very efficient man!
What the...
That's indeed very clever
It's simply easier on the brain to read code top-down. 121 char length > PEP8 limit.
People love to flex with one-liners, and sometimes they are great... but other times like this one, bad practice.
This comment is hidden because it contains spoiler information about the solution
Thanks for explaining it I was wondering
Sad that I forgot about slicing! :")
I too use a floor division, but not so concise way! Awesome!
damn it, I can't think of that
Can someone explain me this one? I don't understand how it works.
You cannot get that behaviour wihout using any classes or objects in python
Loading more items...