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.
*chef's kiss* now with 100% less
ord()
!great minds! I edited the previous fork + added some regex to strip leading spaces and comments
it's.... magnificent
This comment is hidden because it contains spoiler information about the solution
oh dang I didn't see this lol, I just did the same thing
in a newer version of python the first
t
in the return statement would be(t:=len(a))
, and a couple of spaces could still be removed... but there, it's golfed :P