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.
strip() removes only first space
(WUB)+ replace all inline WUB with one space
pay attention to the + in the regex
I was going for short rarther than quick. As long as it passed the tests, it was good enough.
no,
sum
just happens to accept a generator. Thatord(c) for c in ...
is a generator expression, and is not a list.